Thread
:
Post-install and Pre-uninstal script files - examples
View Single Post
caco3
2011-12-18 , 14:13
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#
4
First of all, keep in mind, that those scripts are run as root, so the files also will belong to root. No file in /home/user/ should belong to root, since the user will not be able to remove/modify it!
To correct this, you will have to change the owner and group property of each file:
Code:
chown "user" MYFILE chgrp "users" MYFILE
Also, since you are creating folders with a relative path, you have to make sure you are in the right directory! Its usually better to use absolute paths.
If you install your pp in the terminal, you should get an error message:
Code:
dpkg -i /path/to/my/app.deb
__________________
On N9 check out this:
CacheMe 4 the N9
, a geocaching client /
MiniBible
, a bible viewer /
TheWord
brings daily bible verses onto your phone /
BatteryGraph
to monitor the battery drainage /
doublepress2unlock
to unlock your phone with a double press onto the power button /
GPRS Data Usage
to monitor your GPRS data usage /
and more...
On N900 check out this:
SleepAnalyser
to analyse your sleep movements /
PasswordMaker
a for a password generator
Quote & Reply
|
The Following User Says Thank You to caco3 For This Useful Post:
Schturman
caco3
View Public Profile
Send a private message to caco3
Find all posts by caco3