From a0204b2d695b49847faf937192dafd91d115f7a7 Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 10 May 2018 03:33:14 +0200 Subject: [PATCH] fix --- arch-graphical-install-auto | 8 -------- arch-install | 9 +++++++++ 2 files changed, 9 insertions(+), 8 deletions(-) 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() {