aboutsummaryrefslogtreecommitdiff
path: root/install/login-shell.sh
blob: 54741fde7f6acbfa3144f26a171b62882440fbd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
shell=$(getent passwd "$USER" | cut -d: -f7)
case ${shell##*/} in
    bash)
        target=install-bash ;;
    ksh|ksh88|ksh93|mksh|pdksh)
        target=install-ksh ;;
    zsh)
        target=install-zsh ;;
    *)
        target=install-sh ;;
esac
make "$target"