summaryrefslogtreecommitdiff
path: root/hooks/pre-up/1-ksh
diff options
context:
space:
mode:
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