summaryrefslogtreecommitdiff
path: root/package/debian/twm.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'package/debian/twm.prerm')
-rw-r--r--package/debian/twm.prerm18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/debian/twm.prerm b/package/debian/twm.prerm
new file mode 100644
index 0000000..a92122a
--- /dev/null
+++ b/package/debian/twm.prerm
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Debian twm package pre-removal script
+# Copyright 1998-2001, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <https://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
+ update-alternatives --remove x-window-manager /usr/bin/twm
+fi
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0: