2011-03-10 06:14:08 +08:00
|
|
|
whisperer(){
|
|
|
|
echo "----------------------------------------------------------------"
|
|
|
|
echo "AppSet is in your desktop menu under Applications->System"
|
|
|
|
echo "To launch AppSet from shell run 'appset-launch.sh' as normal"
|
|
|
|
echo "user. To launch the tray type appsettray-qt as normal user."
|
|
|
|
echo "----------------------------------------------------------------"
|
|
|
|
}
|
|
|
|
|
|
|
|
mr_daemon(){
|
|
|
|
angel=$(grep ^DAEMONS /etc/rc.conf | grep appset-helper)
|
|
|
|
|
|
|
|
if [ "$angel" = "" ]; then
|
|
|
|
sed -i '/^DAEMONS/{s/)$/ appset-helper)/}' /etc/rc.conf
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install(){
|
|
|
|
mr_daemon
|
|
|
|
whisperer
|
|
|
|
}
|
|
|
|
|
|
|
|
post_upgrade(){
|
|
|
|
mr_daemon
|
|
|
|
whisperer
|
|
|
|
}
|
|
|
|
|
|
|
|
post_remove(){
|
|
|
|
sed -i '/^DAEMONS/{s/ appset-helper)$/)/}' /etc/rc.conf
|
|
|
|
}
|
2011-04-28 09:10:22 +08:00
|
|
|
|
2011-05-10 17:17:40 +08:00
|
|
|
|