From 59da872c31e3fcf6a19450793ede99cd85e3bc62 Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 10 May 2018 02:46:06 +0200 Subject: [PATCH] fix --- arch-graphical-install-auto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 3eeb866..4e155dd 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -610,7 +610,9 @@ fi if [ "${version}" == "manjaro" ]; then cp /opt/${repo}/update-bootloader /usr/bin/update-bootloader chmod +x /usr/bin/update-bootloader - echo "/usr/bin/update-bootloader" >> /etc/rc.local.shutdown + if ! grep '/usr/bin/update-bootloader' $RCLOCALSHUTDOWN; then + echo "/usr/bin/update-bootloader" >> /etc/rc.local.shutdown + fi fi if [ "$version" != "lite" ]; then