Forgot that omarchy installer should run as the user, inside the newly installed system, not inside the ISO

This commit is contained in:
Torxed committed 2025-08-17 17:41:28 +02:00
1 parent 2a789b954a
commit b2bc8f2eba
1 file changed
+5 -5
+5 -5
View File
@@ -130,11 +130,11 @@ cat <<- _EOF_ | tee $cache_dir/airootfs/root/.automated_script.sh
--config user_configuration.json \
--creds user_credentials.json \
--silent && \
export OMARCHY_USER=\$(ls /home/) && \
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"
export OMARCHY_USER=\$(ls /mnt/home/) && \
mkdir -p /mnt/home/\$OMARCHY_USER/.local/share/ && \
cp -r /root/omarchy "/mnt/home/\$OMARCHY_USER/.local/share/" && \
chown -R \$OMARCHY_USER: "/mnt/home/\$OMARCHY_USER/.local/" \
arch-chroot -u \$OMARCHY_USER /mnt/ "source ~/.local/share/omarchy/install.sh"
fi
_EOF_