blob: de743ea966b2e6952b429e30f2ead08070ec5c86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
set -e
if [ ! -e /bin/sh ]; then
ln -s bash /bin/sh
fi
case "$1" in
abort-remove|configure)
dpkg-divert --quiet --local --divert /bin/sh.distrib /bin/sh
update-alternatives --quiet --install /bin/sh sh /bin/bash 100 || true
;;
*)
exit 0
;;
esac
|