The Following User Says Thank You to Saturn For This Useful Post: | ||
|
2012-08-27
, 02:58
|
|
Posts: 418 |
Thanked: 506 times |
Joined on Jan 2012
@ Argentina
|
#102
|
|
2012-08-27
, 23:39
|
|
Posts: 418 |
Thanked: 506 times |
Joined on Jan 2012
@ Argentina
|
#104
|
your prerm file can contain the commands for replacing back the original files...
|
2012-08-28
, 14:52
|
|
Posts: 418 |
Thanked: 506 times |
Joined on Jan 2012
@ Argentina
|
#105
|
#!/bin/bash mv /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css.bkp rm /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css exit 0
|
2012-08-28
, 23:04
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#106
|
#!/bin/bash mv -f /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css.bkp rm -rf /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css exit 0
The Following User Says Thank You to F2thaK For This Useful Post: | ||
|
2012-08-29
, 23:17
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#107
|
|
2012-08-29
, 23:55
|
|
Posts: 418 |
Thanked: 506 times |
Joined on Jan 2012
@ Argentina
|
#108
|
|
2012-08-30
, 19:33
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#109
|
|
2012-09-01
, 21:10
|
|
Posts: 418 |
Thanked: 506 times |
Joined on Jan 2012
@ Argentina
|
#110
|
For sure use sh instead of bash.
And I assume, that 'exit 0' will exit the installation, not only this script. Just remove that.
And there should be no need for a blank line at the end, but it does not hurt also.
here is an advanced example of something I'm using (it will execute different options depending on what the user asked, i.e. upgrade, remove or purge):
Packages: elGR Locale, SMSCON Editor, Swappolube, CSSU Features Configuration, Snuggle, YAMAS, Cleven
Garage: SMSCON, Swappolube, CSSU Features Configuration, Snuggle
Wiki: SMSCON, SMSCON Editor, Swappolube, CSSU Features Configuration, Cleven