summaryrefslogtreecommitdiff
path: root/hooks/pre-up/1-ksh
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-15 15:14:51 -0500
committerMarc Coquand <marc@mccd.space>2024-05-15 15:14:51 -0500
commitd09be0d5ced1b31e40a1114581abfce0db06c540 (patch)
treeac600d4042669ace826c716a4e5b087583fa2793 /hooks/pre-up/1-ksh
parent9e78cd1d33b05fea802c19f5641b0f09fd592313 (diff)
downloadrcm-d09be0d5ced1b31e40a1114581abfce0db06c540.tar.gz
rcm-d09be0d5ced1b31e40a1114581abfce0db06c540.tar.bz2
rcm-d09be0d5ced1b31e40a1114581abfce0db06c540.zip
Add tigrc; switch to ksh
Diffstat (limited to 'hooks/pre-up/1-ksh')
-rwxr-xr-xhooks/pre-up/1-ksh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/pre-up/1-ksh b/hooks/pre-up/1-ksh
new file mode 100755
index 0000000..ba33b10
--- /dev/null
+++ b/hooks/pre-up/1-ksh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ! [ -x "$(command -v ksh)" ]; then
+ sudo xbps-install -y ksh
+ chsh -s /bin/ksh
+fi