summaryrefslogtreecommitdiffstats
path: root/debian/bash.postinst
blob: ceef0dcd444d2a27529925510136993b582ba97f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/bash

set -e

# This should never happen.
if [ ! -e /bin/sh ]; then
    ln -s bash /bin/sh
fi

update-alternatives --install \
    /usr/share/man/man7/builtins.7.gz \
    builtins.7.gz \
    /usr/share/man/man7/bash-builtins.7.gz \
    10 \
  || true

#DEBHELPER#

exit 0