From d09be0d5ced1b31e40a1114581abfce0db06c540 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Wed, 15 May 2024 15:14:51 -0500 Subject: Add tigrc; switch to ksh --- hooks/pre-up/1-ksh | 6 ++++++ hooks/pre-up/1-mksh | 6 ------ hooks/pre-up/2-nix | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) create mode 100755 hooks/pre-up/1-ksh delete mode 100755 hooks/pre-up/1-mksh (limited to 'hooks') 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" -- cgit v1.2.3