summaryrefslogtreecommitdiff
path: root/hooks/pre-up/1-oksh
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-09 21:23:28 -0500
committerMarc Coquand <marc@mccd.space>2024-05-09 21:23:28 -0500
commit3d7208853d0f7dfdee4c0aa26a65557414aea96f (patch)
tree607e68f9a5bc77599d0ad15eab678f1b6673244b /hooks/pre-up/1-oksh
parent8747402d7647d02d85f513cdd9d32410a6e17db6 (diff)
downloadrcm-3d7208853d0f7dfdee4c0aa26a65557414aea96f.tar.gz
rcm-3d7208853d0f7dfdee4c0aa26a65557414aea96f.tar.bz2
rcm-3d7208853d0f7dfdee4c0aa26a65557414aea96f.zip
Shell update
Diffstat (limited to '')
-rwxr-xr-xhooks/pre-up/1-oksh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/pre-up/1-oksh b/hooks/pre-up/1-oksh
new file mode 100755
index 0000000..7cff998
--- /dev/null
+++ b/hooks/pre-up/1-oksh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ! [ -x "$(command -v mksh)" ]; then
+ sudo xbps-install -y mksh
+ chsh -s /bin/mksh
+fi