Final Steps

So the install script, control file, postinst and the home directory are ready. Now we want to set the right permissions and remove the old files. Remember the install script runs as root. You need to now add lines to your install script that set the permissions correctly everywhere.
#Cleanup
chmod -R 777 /home/user
chown -R user:users /home/user
rm -fr /home/user/apps
rm -f /etc/init.d/install.sh
rm -f /etc/rc2.d/S33install.sh
#REBOOT THE DEVICE
reboot


vern 2007-06-04