added INSTALL/REMOVE scriptlets
This commit is contained in:
parent
ccf558cc8b
commit
4075f3a6ad
2 changed files with 20 additions and 0 deletions
13
srcpkgs/profile-sync-daemon/INSTALL
Normal file
13
srcpkgs/profile-sync-daemon/INSTALL
Normal 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
|
7
srcpkgs/profile-sync-daemon/REMOVE
Normal file
7
srcpkgs/profile-sync-daemon/REMOVE
Normal 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
|
Loading…
Reference in a new issue