From 068ce5232dd0c326cf4a5f3c3114a6b4b8198590 Mon Sep 17 00:00:00 2001 From: ene Date: Tue, 21 Mar 2023 17:11:19 +0100 Subject: Fix(bootstrap/setup): Update to new shell-lib version --- bootstrap/setup/setup.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bootstrap/setup') diff --git a/bootstrap/setup/setup.sh b/bootstrap/setup/setup.sh index 42a9a4b7..3ea4af0b 100755 --- a/bootstrap/setup/setup.sh +++ b/bootstrap/setup/setup.sh @@ -2,8 +2,6 @@ # shellcheck disable=SC2086 # shellcheck source=/dev/null . %SHELL_LIBRARY_PATH -export LIB_TEMP_DIR_FOR_SCRIPT="$(mktemp -d)" - msg "Select a host-config:" hosts=$(mktmp); host=""; @@ -34,7 +32,7 @@ git clone https://git.sils.li/ene/nixos-config /mnt/srv/etc/nixos mkdir -p /mnt/srv/home chmod 777 /mnt/srv/home -readp "Do you want to continue with the user configuration setup?[y/n]: " result; +readp "Do you want to continue with the user configuration setup?[N/y]: " result; case "$result" in [yY]) nix run "git+https://git.sils.li/ene/nixos-config#config_setup"; @@ -44,6 +42,3 @@ case "$result" in exit 1 ;; esac - - -if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi -- cgit 1.4.1