From 2a789b954aadf6a4f3cf9a2fbb81f30b22e06872 Mon Sep 17 00:00:00 2001 From: Torxed Date: Sun, 17 Aug 2025 17:38:01 +0200 Subject: [PATCH] Placed the omarchy installer in the correct folder under the new user --- build_iso.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build_iso.sh b/build_iso.sh index 43dc69a..2a0d179 100755 --- a/build_iso.sh +++ b/build_iso.sh @@ -112,7 +112,7 @@ mv "$cache_dir/airootfs/root/omarchy-installer/installer" "$cache_dir/airootfs/r mv "$cache_dir/airootfs/root/omarchy-installer/logo.txt" "$cache_dir/airootfs/root/logo.txt" rm -rf "$cache_dir/airootfs/root/omarchy-installer" -git clone -b dev git@github.com:basecamp/omarchy.git "$cache_dir/airootfs/root/omarchy" +git clone -b dev --single-branch https://github.com/basecamp/omarchy.git "$cache_dir/airootfs/root/omarchy" # Copy in the connectivity check script cp /check_connectivity.sh "$cache_dir/airootfs/root/check_connectivity.sh" @@ -131,9 +131,10 @@ cat <<- _EOF_ | tee $cache_dir/airootfs/root/.automated_script.sh --creds user_credentials.json \ --silent && \ export OMARCHY_USER=\$(ls /home/) && \ - cp -r /root/omarchy "/home/\$OMARCHY_USER/" && \ - chown \$OMARCHY_USER "/home/\$OMARCHY_USER/omarchy" \ - su - \$OMARCHY_USER -c "source /home/\$OMARCHY_USER/omarchy/install.sh" + mkdir -p /home/\$OMARCHY_USER/.local/share/ && \ + cp -r /root/omarchy "/home/\$OMARCHY_USER/.local/share/" && \ + chown -R \$OMARCHY_USER: "/home/\$OMARCHY_USER//.local/" \ + su - \$OMARCHY_USER -c "source /home/\$OMARCHY_USER/.local/share/omarchy/install.sh" fi _EOF_