Changes between Version 11 and Version 12 of HowTo/WriteInstallScript
- Timestamp:
- 09/25/12 13:14:17 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/WriteInstallScript
v11 v12 7 7 = 1. Write your script = 8 8 The first step is to write your install script. While writing your script you should keep in mind that: 9 * your script '''does not run in the context of your user''', make sure that you change the permissions of anything installed in your home directory so that you =have access to them when you login9 * your script '''does not run in the context of your user''', make sure that you change the permissions of anything installed in your home directory so that you have access to them when you login 10 10 * your script '''does run as a user with [http://en.wikipedia.org/wiki/Sudo sudo privileges]''', you can do anything that you can do in the context of your user. Make sure you use `sudo` when: 11 11 * you execute privileged commands (e.g. `yum`, `apt-get`, `service`)