Changes between Version 29 and Version 30 of HowTo/WriteInstallScript
- Timestamp:
- 07/23/15 10:46:16 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/WriteInstallScript
v29 v30 18 18 * you execute privileged commands (e.g. `yum`, `apt-get`, `service`) 19 19 * you place things in your home directory 20 * you try to write files in protected directories (e.g. `/usr/loca c/bin/, /local/)20 * you try to write files in protected directories (e.g. `/usr/local/bin/, /local/) 21 21 * the [http://en.wikipedia.org/wiki/PATH_(variable) $PATH environment variable] is not necessarily set, make sure you use the full path of commands in your scripts; for example don't use `ifconfig`, but use `/sbin/ifconfig`. This is also true for the interpreters used for your script.Make sure you start your script with a line like 22 22 {{{