c/sampler renamed to Ghetto-SoundSystem ;-)
[mirrors/Programs.git] / bash / debian-ports / test / postinst
1 #! /bin/sh
2 # postinst for sash
3 #
4
5 set -e
6
7 if [ "$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
11 fi
12
13 # Make sure we get rid of any stuff in /usr/doc
14 if [ -L "/usr/doc/sash" ]; then
15 rm -f "/usr/doc/sash"
16 fi
17
18
19 #DEBHELPER#
20 #! /bin/sh
21 # postinst for sash
22 #
23
24 set -e
25
26 if [ "$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
30 fi
31
32 # Make sure we get rid of any stuff in /usr/doc
33 if [ -L "/usr/doc/sash" ]; then
34 rm -f "/usr/doc/sash"
35 fi
36
37
38 #DEBHELPER#
This page took 0.272606 seconds and 4 git commands to generate.