Make /opt/moonarch root-owned for multi-user support

Remove chown from archinstall custom-commands so the repo stays
root:root. Use sudo for git operations in update.sh. Any user with
sudo can now run moonarch-update without owning the repo.
This commit is contained in:
2026-03-29 15:23:39 +02:00
parent 6ca8931f04
commit 1679fcfb30
5 changed files with 21 additions and 10 deletions
+1 -2
View File
@@ -70,7 +70,6 @@
"timezone": "Europe/Berlin",
"custom-commands": [
"git clone https://gitea.moonarch.de/nevaforget/moonarch.git /opt/moonarch",
"chown -R 1000:1000 /opt/moonarch"
"git clone https://gitea.moonarch.de/nevaforget/moonarch.git /opt/moonarch"
]
}