summarylogtreecommitdiffstats
path: root/poldi.install
diff options
context:
space:
mode:
authorshtrom2014-01-08 00:35:42 +0000
committerOlivier Mehani2015-07-01 13:20:41 +1000
commitb0c95da7563983378bc2bf84689052830eeac8d0 (patch)
treeb16fdaa3467bb1200f6e0ef11a153a89c8d18234 /poldi.install
parenta1c16858ec6656bbf821f3419e3311e36eec5b7d (diff)
downloadaur-b0c95da7563983378bc2bf84689052830eeac8d0.tar.gz
[poldi] New package 0.4.1-4
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@352 df209809-8e4a-0410-9a64-c169741eb0fc
Diffstat (limited to 'poldi.install')
-rw-r--r--poldi.install19
1 files changed, 6 insertions, 13 deletions
diff --git a/poldi.install b/poldi.install
index 6067c4dd0e99..27a60c0e469b 100644
--- a/poldi.install
+++ b/poldi.install
@@ -13,16 +13,14 @@ post_install() {
install-info $infodir/$file $infodir/dir 2> /dev/null
done
- echo "Poldi is now installed."
echo
- echo "Since this is the first time you've installed poldi, the template configuration files have been placed in /etc/poldi. Take a look and edit them to your needs."
- echo "The original templates will remain in /usr/share/poldi/etc/poldi."
-
- mkdir -p /etc/poldi
- cp -fR /usr/share/poldi/etc/poldi/* /etc/poldi/
-
+ echo "*** Poldi is now installed."
+ echo
+ echo "A PAM configuration file has been installed as '/etc/pam.d/system-auth-poldi'."
+ echo -e "To enable its use, you need to put 'auth include system-auth-poldi'\nin the relevant files (/etc/pam.d/system-auth is a good starting point)."
+ echo
+ echo "You can test the installation with 'pam-test-poldi SERVICE'."
echo
- echo "Future upgrades to this package will NOT overwrite your configuration files in /etc/poldi, since this might seriously break things. The latest version of the template configuration files can always be found in /usr/share/doc/poldi/example_etc/poldi."
}
## arg 1: the new package version
@@ -38,11 +36,6 @@ post_upgrade() {
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
-
- echo "Poldi has now been upgraded."
- echo
- echo "Warning: Upgrades to this package will not replace any configuration files in /etc/poldi, in order to prevent serious logging in problems."
- echo "The updated sample configuration files are now in /usr/share/poldi/etc/poldi. Take a look and update your own files in /etc/poldi if necessary."
}
## arg 1: the old package version