Lepsi hodnoty
[mirrors/Programs.git] / bash / debian-ports / test / debian.install
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#
39#! /bin/sh
40# postinst for sash
41#
42
43set -e
44
45if [ "$1" = "configure" ] && [ "$2" = "" ] || dpkg --compare-versions "$2" lt "3.7-7.3"; then
46 # initial install or upgrade from old version which didn't call
47 # add-shell properly.
48 /usr/sbin/add-shell /bin/sash
49fi
50
51# Make sure we get rid of any stuff in /usr/doc
52if [ -L "/usr/doc/sash" ]; then
53 rm -f "/usr/doc/sash"
54fi
55
56
57#DEBHELPER#
58#! /bin/sh
59# postinst for sash
60#
61
62set -e
63
64if [ "$1" = "configure" ] && [ "$2" = "" ] || dpkg --compare-versions "$2" lt "3.7-7.3"; then
65 # initial install or upgrade from old version which didn't call
66 # add-shell properly.
67 /usr/sbin/add-shell /bin/sash
68fi
69
70# Make sure we get rid of any stuff in /usr/doc
71if [ -L "/usr/doc/sash" ]; then
72 rm -f "/usr/doc/sash"
73fi
74
75
76#DEBHELPER#
77#! /bin/sh
78# postinst for sash
79#
80
81set -e
82
83if [ "$1" = "configure" ] && [ "$2" = "" ] || dpkg --compare-versions "$2" lt "3.7-7.3"; then
84 # initial install or upgrade from old version which didn't call
85 # add-shell properly.
86 /usr/sbin/add-shell /bin/sash
87fi
88
89# Make sure we get rid of any stuff in /usr/doc
90if [ -L "/usr/doc/sash" ]; then
91 rm -f "/usr/doc/sash"
92fi
93
94
95#DEBHELPER#
96#! /bin/sh
97# postinst for sash
98#
99
100set -e
101
102if [ "$1" = "configure" ] && [ "$2" = "" ] || dpkg --compare-versions "$2" lt "3.7-7.3"; then
103 # initial install or upgrade from old version which didn't call
104 # add-shell properly.
105 /usr/sbin/add-shell /bin/sash
106fi
107
108# Make sure we get rid of any stuff in /usr/doc
109if [ -L "/usr/doc/sash" ]; then
110 rm -f "/usr/doc/sash"
111fi
112
113
114#DEBHELPER#
This page took 0.296029 seconds and 4 git commands to generate.