diff options
Diffstat (limited to 'bootstrap/setup/setup.sh')
-rwxr-xr-x | bootstrap/setup/setup.sh | 7 |
1 files changed, 1 insertions, 6 deletions
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 |