updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / appset-qt-gnome / appset-qt-gnome.install
blobc38ffd63008bff5dbad9605a855aa121ac07be62
1 whisperer(){
2     echo "----------------------------------------------------------------"
3     echo "Don't forget that this is an alpha release of AppSet-Qt."
4     echo "You can test it but it is not recommended for use every day"
5     echo "----------------------------------------------------------------"
6     echo "AppSet is in your desktop menu under Applications->System"
7     echo "To launch AppSet from shell run 'appset-launch.sh' as normal"
8     echo "user."
9     echo "----------------------------------------------------------------"
10     echo "----------------------------------------------------------------"
11     echo "IMPORTANT: NOW YOU NEED TO REBOOT YOUR COMPUTER TO LET APPSET"
12     echo "WORKING AT ITS BEST"
13     echo "----------------------------------------------------------------"
14     echo "----------------------------------------------------------------"
17 mr_daemon(){
18     angel=$(grep ^DAEMONS /etc/rc.conf | grep appset-helper)
20     if [ "$angel" = "" ]; then
21         sed -i '/^DAEMONS/{s/)$/ appset-helper)/}' /etc/rc.conf
22     fi
25 post_install(){
26     mr_daemon
27     whisperer
28
30 post_upgrade(){
31     mr_daemon
32     whisperer
33
35 post_remove(){
36     sed -i '/^DAEMONS/{s/ appset-helper)$/)/}' /etc/rc.conf