From 4075f3a6ad1854d1581bdb24c2d740ad9092826f Mon Sep 17 00:00:00 2001 From: graysky Date: Thu, 6 Jun 2013 18:10:39 -0400 Subject: [PATCH] added INSTALL/REMOVE scriptlets --- srcpkgs/profile-sync-daemon/INSTALL | 13 +++++++++++++ srcpkgs/profile-sync-daemon/REMOVE | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 srcpkgs/profile-sync-daemon/INSTALL create mode 100644 srcpkgs/profile-sync-daemon/REMOVE diff --git a/srcpkgs/profile-sync-daemon/INSTALL b/srcpkgs/profile-sync-daemon/INSTALL new file mode 100644 index 00000000000..abf28539ddf --- /dev/null +++ b/srcpkgs/profile-sync-daemon/INSTALL @@ -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 diff --git a/srcpkgs/profile-sync-daemon/REMOVE b/srcpkgs/profile-sync-daemon/REMOVE new file mode 100644 index 00000000000..32f9448f8f8 --- /dev/null +++ b/srcpkgs/profile-sync-daemon/REMOVE @@ -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