| 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# |
| 39 | #! /bin/sh |
| 40 | # postinst for sash |
| 41 | # |
| 42 | |
| 43 | set -e |
| 44 | |
| 45 | if [ "$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 |
| 49 | fi |
| 50 | |
| 51 | # Make sure we get rid of any stuff in /usr/doc |
| 52 | if [ -L "/usr/doc/sash" ]; then |
| 53 | rm -f "/usr/doc/sash" |
| 54 | fi |
| 55 | |
| 56 | |
| 57 | #DEBHELPER# |
| 58 | #! /bin/sh |
| 59 | # postinst for sash |
| 60 | # |
| 61 | |
| 62 | set -e |
| 63 | |
| 64 | if [ "$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 |
| 68 | fi |
| 69 | |
| 70 | # Make sure we get rid of any stuff in /usr/doc |
| 71 | if [ -L "/usr/doc/sash" ]; then |
| 72 | rm -f "/usr/doc/sash" |
| 73 | fi |
| 74 | |
| 75 | |
| 76 | #DEBHELPER# |
| 77 | #! /bin/sh |
| 78 | # postinst for sash |
| 79 | # |
| 80 | |
| 81 | set -e |
| 82 | |
| 83 | if [ "$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 |
| 87 | fi |
| 88 | |
| 89 | # Make sure we get rid of any stuff in /usr/doc |
| 90 | if [ -L "/usr/doc/sash" ]; then |
| 91 | rm -f "/usr/doc/sash" |
| 92 | fi |
| 93 | |
| 94 | |
| 95 | #DEBHELPER# |
| 96 | #! /bin/sh |
| 97 | # postinst for sash |
| 98 | # |
| 99 | |
| 100 | set -e |
| 101 | |
| 102 | if [ "$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 |
| 106 | fi |
| 107 | |
| 108 | # Make sure we get rid of any stuff in /usr/doc |
| 109 | if [ -L "/usr/doc/sash" ]; then |
| 110 | rm -f "/usr/doc/sash" |
| 111 | fi |
| 112 | |
| 113 | |
| 114 | #DEBHELPER# |