Forward args correctly
This commit is contained in:
1 parent
6e59ff91d1
commit
b7f3711fc7
1 file changed
+1
-2
@@ -8,7 +8,7 @@ chroot_bash() {
|
|||||||
OMARCHY_USER_EMAIL="$(<user_email_address.txt)" \
|
OMARCHY_USER_EMAIL="$(<user_email_address.txt)" \
|
||||||
USER="$OMARCHY_USER" \
|
USER="$OMARCHY_USER" \
|
||||||
HOME="/home/$OMARCHY_USER" \
|
HOME="/home/$OMARCHY_USER" \
|
||||||
/bin/bash
|
/bin/bash "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
catch_errors() {
|
catch_errors() {
|
||||||
@@ -46,7 +46,6 @@ $OMARCHY_USER ALL=(ALL:ALL) NOPASSWD: ALL
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
chmod 440 /mnt/etc/sudoers.d/99-omarchy-installer
|
chmod 440 /mnt/etc/sudoers.d/99-omarchy-installer
|
||||||
chmod 440 /mnt/etc/sudoers.d/99-omarchy-installer
|
|
||||||
|
|
||||||
# Install from the Omarchy web installer
|
# Install from the Omarchy web installer
|
||||||
chroot_bash -lc "wget -qO- https://omarchy.org/install-dev | bash"
|
chroot_bash -lc "wget -qO- https://omarchy.org/install-dev | bash"
|
||||||
|
|||||||
Reference in new issue
Block a user