summaryrefslogtreecommitdiffstats
path: root/dc.pkg/prerm
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-07 12:54:18 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-07 12:54:18 (EDT)
commit6b8e4081f0e47ed7926598ce86601e3345041458 (patch)
tree4086db51ca3ab964565c86987b5f4386d6afa1c4 /dc.pkg/prerm
Initial commit.
Diffstat (limited to 'dc.pkg/prerm')
-rw-r--r--dc.pkg/prerm5
1 files changed, 5 insertions, 0 deletions
diff --git a/dc.pkg/prerm b/dc.pkg/prerm
new file mode 100644
index 0000000..688f2b8
--- /dev/null
+++ b/dc.pkg/prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xremove' ]; then
+ update-alternatives --remove dc /usr/bin/dc.gnu
+fi