diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-15 15:14:51 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-15 15:14:51 -0500 |
commit | d09be0d5ced1b31e40a1114581abfce0db06c540 (patch) | |
tree | ac600d4042669ace826c716a4e5b087583fa2793 /hooks/pre-up | |
parent | 9e78cd1d33b05fea802c19f5641b0f09fd592313 (diff) | |
download | rcm-d09be0d5ced1b31e40a1114581abfce0db06c540.tar.gz rcm-d09be0d5ced1b31e40a1114581abfce0db06c540.tar.bz2 rcm-d09be0d5ced1b31e40a1114581abfce0db06c540.zip |
Add tigrc; switch to ksh
Diffstat (limited to 'hooks/pre-up')
-rwxr-xr-x | hooks/pre-up/1-ksh | 6 | ||||
-rwxr-xr-x | hooks/pre-up/1-mksh | 6 | ||||
-rwxr-xr-x | hooks/pre-up/2-nix | 2 |
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" |