diff --git a/installer.sh b/installer.sh index fff6e6e..4b35182 100644 --- a/installer.sh +++ b/installer.sh @@ -90,7 +90,7 @@ setup_chroot(){ post_install(){ printf "Postinstall\n" - ([ -f "$postinstall" ] && cp "$postinstall" /tmp/postinstall.sh) || wget -qO- "$1" > /tmp/postinstall.sh + ([ -f "$postinstall" ] && cp "$postinstall" /tmp/postinstall.sh) || wget -qO- "$postinstall" > /tmp/postinstall.sh su - "$user" -c "zsh -lc 'sh /tmp/postinstall.sh \"$@\" '" }