mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
32 lines
735 B
Plaintext
32 lines
735 B
Plaintext
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
|
|
}
|
|
|
|
|