added INSTALL/REMOVE scriptlets

This commit is contained in:
graysky 2013-06-06 18:10:39 -04:00
parent ccf558cc8b
commit 4075f3a6ad
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,13 @@
case "$ACTION" in
post)
if [ "$UPDATE" = "no" ]; then
echo '--------------------------------------------------------------------------'
echo ' Define which users will make use of the sync in /etc/psd.conf'
echo ' Read the manpage before use or see the wiki page'
echo ' https://wiki.archlinux.org/index.php/Profile-sync-daemon'
echo
echo ' ALWAYS backup your profile data before using utils like psd!'
echo '--------------------------------------------------------------------------'
fi
;;
esac

View file

@ -0,0 +1,7 @@
case "$ACTION" in
pre)
echo '--> Automatically stopping psd to rotate profiles back out of tmpfs.'
echo '--> Be sure you disable psd.service and psd-resync.service manually.'
systemctl stop psd.service
;;
esac