File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 4848 if [ "$OS" = "Linux" ]; then
4949 sudo apt update -y
5050
51- sudo apt install -y ksh bash dash zsh posh yash
52- SHELLS="sh ksh bash dash zsh posh yash"
51+ sudo apt install -y bash dash zsh posh yash
52+ SHELLS="sh bash dash zsh posh yash"
5353
5454 # The `mksh` package provides both `mksh` and the legacy-oriented `lksh`
5555 sudo apt install -y mksh
7272 wget https://snapshot.debian.org/archive/debian/20111024T031453Z/pool/main/p/pdksh/pdksh_5.2.14-26_amd64.deb
7373 sudo apt install -y ./pdksh_5.2.14-26_amd64.deb
7474 SHELLS="$SHELLS pdksh"
75+
76+ # `pdksh` would (silently) conflict with `ksh` due to providing a fallback
77+ # for `ksh` proper, so we now remove the fallback and install `ksh`
78+ sudo update-alternatives --remove ksh /bin/pdksh
79+ sudo rm -f /bin/ksh /usr/bin/ksh
80+ sudo apt install ksh
81+ SHELLS="$SHELLS ksh"
7582 fi
7683 if [ "$OS" = "macOS" ]; then
7784 brew install binutils # `readelf`
You can’t perform that action at this time.
0 commit comments