about summary refs log tree commit diff stats
path: root/bootstrap
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-21 17:11:19 +0100
committerene <ene@sils.li>2023-03-21 17:11:19 +0100
commit068ce5232dd0c326cf4a5f3c3114a6b4b8198590 (patch)
tree01b2e12f8633b9e0dc1748ffa3c045eccb7efa5c /bootstrap
parentFix(bootstrap/setup): Add all needed dependencies (diff)
downloadnixos-config-068ce5232dd0c326cf4a5f3c3114a6b4b8198590.tar.gz
nixos-config-068ce5232dd0c326cf4a5f3c3114a6b4b8198590.zip
Fix(bootstrap/setup): Update to new shell-lib version
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/setup/setup.sh7
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