summaryrefslogtreecommitdiffstats
path: root/dc.pkg/postinst
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/postinst
Initial commit.
Diffstat (limited to 'dc.pkg/postinst')
-rw-r--r--dc.pkg/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/dc.pkg/postinst b/dc.pkg/postinst
new file mode 100644
index 0000000..8ca83d2
--- /dev/null
+++ b/dc.pkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ "x${1}" = 'xconfigure' ]; then
+ update-alternatives --install /usr/bin/dc dc /usr/bin/dc.gnu 20
+fi