Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-09-14 22:35:01 +0400
committermboelen <michael@cisofy.com>2014-09-14 22:35:01 +0400
commit7a2daf92ad1aa28571403b5f2cdab8d319cb32fb (patch)
treee99e24b72eb8562681aa0ad7274d896bd71fc660 /debian/postrm.ex
parent67dce7ad3447970aff0b2f6241e0ccaeca88c634 (diff)
Updated spec file and build script
Diffstat (limited to 'debian/postrm.ex')
-rw-r--r--debian/postrm.ex37
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/postrm.ex b/debian/postrm.ex
new file mode 100644
index 00000000..1aaeb685
--- /dev/null
+++ b/debian/postrm.ex
@@ -0,0 +1,37 @@
+#!/bin/sh
+# postrm script for lynis
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <overwriter>
+# <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0