Changing files or directories
This describes what has to be done if a new directory/file is added or removed.
-
Affected files:
- ${EM}/release/tools/installer_skel/unx/em/em-cvs.dpi
- ${EM}/release/tools/installer_skel/unx/gobo/gobo-cvs.dpi
- ${EM}/release/tools/installer_skel/unx/ewg/ewg-cvs.dpi
- ${EM}/release/build.eant
-
What to change:
- Insert/Remove/Change lines in the [INSTALL] Section
-
Example:
-
Adding a new directory named 'testdir' excluding all
*.txt
and
*.dpi
which should be installed under /usr/lib/bla under Debian:
- Source: "testdir/*"; Excludes: "*.txt,*.dpi"; Dest: "/usr/lib/bla";
-
Adding all
*.txt
which should be installed under /usr/share/bla/doc under Debian:
-
Source: "*.txt"; Dest: "/usr/share/bla/doc";
-
Adding a new directory named 'testdir' excluding all
*.txt
and
*.dpi
which should be installed under /usr/lib/bla under Debian:
Changing Environment-variables or Path-variables
This describes what needs to be done if a new environment-variable or a new path-variable is being added.
-
Affected files/Changes:
- No need to change anything as there only is a sample script provided and the Debian User basically knows how to set an environment variable
Changing scripts which will be run after the Installation/before Removal
This describes what needs to be done if you wish to insert code which will be run before/after installation.
-
Affected files:
- none
-
What to change:
- Insert a bash-script named 'postinst' or 'prerem' and copy it to ${EM}/release/tools/installer_skel/unx/${package_name}