diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 4e155dd..f5d72df 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -607,14 +607,6 @@ if ! grep '#!' $RCLOCALSHUTDOWN; then echo "#!/bin/bash" > $RCLOCALSHUTDOWN fi -if [ "${version}" == "manjaro" ]; then - cp /opt/${repo}/update-bootloader /usr/bin/update-bootloader - chmod +x /usr/bin/update-bootloader - if ! grep '/usr/bin/update-bootloader' $RCLOCALSHUTDOWN; then - echo "/usr/bin/update-bootloader" >> /etc/rc.local.shutdown - fi -fi - if [ "$version" != "lite" ]; then ### custom-installer diff --git a/arch-install b/arch-install index e0c7af2..d824412 100755 --- a/arch-install +++ b/arch-install @@ -708,6 +708,15 @@ function systemdboot() { fi + if [ "${version}" == "manjaro" ]; then + cp /opt/${repo}/update-bootloader ${mountpoint}/usr/bin/update-bootloader + chmod +x ${mountpoint}/usr/bin/update-bootloader + if ! grep '${mountpoint}/usr/bin/update-bootloader' $RCLOCALSHUTDOWN; then + echo "${mountpoint}/usr/bin/update-bootloader" >> ${mountpoint}/etc/rc.local.shutdown + fi + fi + + } function abfrage() {