summaryrefslogtreecommitdiff
path: root/DEBIAN/prerm
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2020-07-15 07:43:44 -0400
committerAndrew Guschin <saintruler@gmail.com>2020-07-15 07:43:44 -0400
commit2c74cdb84524e566967377d0e375d189b2089381 (patch)
tree11250550210d294a46a175ae80a1a5a8bb6a5212 /DEBIAN/prerm
Added files for building st .deb package
Diffstat (limited to 'DEBIAN/prerm')
-rwxr-xr-xDEBIAN/prerm11
1 files changed, 11 insertions, 0 deletions
diff --git a/DEBIAN/prerm b/DEBIAN/prerm
new file mode 100755
index 0000000..3e49cca
--- /dev/null
+++ b/DEBIAN/prerm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove ] || [ "$1" = deconfigure ]; then
+ update-alternatives --remove x-terminal-emulator /usr/bin/st
+fi
+
+
+
+exit 0