summaryrefslogtreecommitdiff
path: root/debian/bash-static.postinst
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-08 11:48:42 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-08 11:48:42 +0400
commit597d7d4d9df6e688e766f1da1c7de92b191fbde9 (patch)
treee758dd00a56a9039deba2abab755033466bd0cbf /debian/bash-static.postinst
downloadbash-debian.tar.gz
Debian bash 4.3-11debian/4.3-11debian
Diffstat (limited to 'debian/bash-static.postinst')
-rw-r--r--debian/bash-static.postinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/bash-static.postinst b/debian/bash-static.postinst
new file mode 100644
index 0000000..bb30da7
--- /dev/null
+++ b/debian/bash-static.postinst
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = configure ] && dpkg --compare-versions "$2" le 3.2-4 \
+ && which add-shell >/dev/null
+then
+ add-shell /bin/bash-static
+fi
+
+#DEBHELPER#
+
+exit 0