Pthread multi
[mirrors/Programs.git] / bash / debian-ports / test / postinst
CommitLineData
21c4e167
H
1#! /bin/sh
2# postinst for sash
3#
4
5set -e
6
7if [ "$1" = "configure" ] && [ "$2" = "" ] || dpkg --compare-versions "$2" lt "3.7-7.3"; then
8 # initial install or upgrade from old version which didn't call
9 # add-shell properly.
10 /usr/sbin/add-shell /bin/sash
11fi
12
13# Make sure we get rid of any stuff in /usr/doc
14if [ -L "/usr/doc/sash" ]; then
15 rm -f "/usr/doc/sash"
16fi
17
18
19#DEBHELPER#
20#! /bin/sh
21# postinst for sash
22#
23
24set -e
25
26if [ "$1" = "configure" ] && [ "$2" = "" ] || dpkg --compare-versions "$2" lt "3.7-7.3"; then
27 # initial install or upgrade from old version which didn't call
28 # add-shell properly.
29 /usr/sbin/add-shell /bin/sash
30fi
31
32# Make sure we get rid of any stuff in /usr/doc
33if [ -L "/usr/doc/sash" ]; then
34 rm -f "/usr/doc/sash"
35fi
36
37
38#DEBHELPER#
This page took 0.197114 seconds and 4 git commands to generate.