summaryrefslogtreecommitdiff
path: root/hooks/pre-up
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
parent9e78cd1d33b05fea802c19f5641b0f09fd592313 (diff)
downloadrcm-d09be0d5ced1b31e40a1114581abfce0db06c540.tar.gz
rcm-d09be0d5ced1b31e40a1114581abfce0db06c540.tar.bz2
rcm-d09be0d5ced1b31e40a1114581abfce0db06c540.zip
Add tigrc; switch to ksh
Diffstat (limited to '')
-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"