core/tools-pkg-appset-qt/appset-qt.install

38 lines
1.3 KiB
Plaintext
Raw Normal View History

2011-03-10 06:14:08 +08:00
whisperer(){
echo "----------------------------------------------------------------"
echo "Don't forget that this is an alpha release of AppSet-Qt."
echo "You can test it but it is not recommended for use every day"
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 "----------------------------------------------------------------"
echo "----------------------------------------------------------------"
echo "IMPORTANT!: NOW YOU NEED TO REBOOT YOUR COMPUTER TO MAKE APPSET"
echo "WORKING CORRECTLY"
echo "----------------------------------------------------------------"
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
}