summaryrefslogtreecommitdiff
path: root/hooks/pre-up
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/pre-up')
-rwxr-xr-xhooks/pre-up/1-ksh6
-rwxr-xr-xhooks/pre-up/1-mksh6
-rwxr-xr-xhooks/pre-up/2-nix2
3 files changed, 7 insertions, 7 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
diff --git a/hooks/pre-up/1-mksh b/hooks/pre-up/1-mksh
deleted file mode 100755
index 7cff998..0000000
--- a/hooks/pre-up/1-mksh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-if ! [ -x "$(command -v mksh)" ]; then
- sudo xbps-install -y mksh
- chsh -s /bin/mksh
-fi
diff --git a/hooks/pre-up/2-nix b/hooks/pre-up/2-nix
index 945bf48..0a457ee 100755
--- a/hooks/pre-up/2-nix
+++ b/hooks/pre-up/2-nix
@@ -1,4 +1,4 @@
-#!/bin/mksh
+#!/bin/sh
if ! [ -x "$(command -v nix)" ]; then
echo "Installing Nix"