fix
This commit is contained in:
parent
fae91bf4bf
commit
a0204b2d69
2 changed files with 9 additions and 8 deletions
|
@ -607,14 +607,6 @@ if ! grep '#!' $RCLOCALSHUTDOWN; then
|
||||||
echo "#!/bin/bash" > $RCLOCALSHUTDOWN
|
echo "#!/bin/bash" > $RCLOCALSHUTDOWN
|
||||||
fi
|
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
|
if [ "$version" != "lite" ]; then
|
||||||
|
|
||||||
### custom-installer
|
### custom-installer
|
||||||
|
|
|
@ -708,6 +708,15 @@ function systemdboot() {
|
||||||
|
|
||||||
fi
|
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() {
|
function abfrage() {
|
||||||
|
|
Loading…
Reference in a new issue