summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Nijhof <jeroen@jeroennijhof.nl>2014-02-17 18:59:36 +0100
committerJeroen Nijhof <jeroen@jeroennijhof.nl>2014-02-17 18:59:36 +0100
commit52127d9748862def0abb21cfc878c05723313d30 (patch)
tree3bd0251de236f73661279e2453028a4744e2293a
parent088dedd6d9b78b7dadd9f772b3d6f597a32d1548 (diff)
downloadpam_tacplus-52127d9748862def0abb21cfc878c05723313d30.tar.gz
pam_tacplus-52127d9748862def0abb21cfc878c05723313d30.zip
Added postinst and prerm for pam-auth-update
-rw-r--r--debian/changelog6
-rw-r--r--debian/libpam-tacplus.postinst7
-rw-r--r--debian/libpam-tacplus.prerm9
3 files changed, 22 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 0912a46..5ba2e14 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libpam-tacplus (1.3.8-2) unstable; urgency=low
+
+ * Added postinst and prerm scripts for pam-auth-update. Closes: #739274
+
+ -- Jeroen Nijhof <jeroen@jeroennijhof.nl> Mon, 17 Feb 2014 18:58:59 +0100
+
libpam-tacplus (1.3.8-1) unstable; urgency=low
* New upstream release.
diff --git a/debian/libpam-tacplus.postinst b/debian/libpam-tacplus.postinst
new file mode 100644
index 0000000..7e37590
--- /dev/null
+++ b/debian/libpam-tacplus.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+pam-auth-update --package
+
+#DEBHELPER#
diff --git a/debian/libpam-tacplus.prerm b/debian/libpam-tacplus.prerm
new file mode 100644
index 0000000..e143dcb
--- /dev/null
+++ b/debian/libpam-tacplus.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove ]; then
+ pam-auth-update --package --remove tacplus
+fi
+
+#DEBHELPER#