summaryrefslogtreecommitdiffstats
path: root/debian/bash-static.postinst
blob: bb30da7e469c2b12facb1602ac9ce13b35c31da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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