update-bootloader-manjaro

This commit is contained in:
simono41 2018-08-21 22:00:06 +02:00
parent 5944546659
commit 50b4350f09
2 changed files with 19 additions and 0 deletions

View file

@ -592,6 +592,13 @@ chmod +x /usr/bin/aurupdater
# setcap-ping
setcap cap_net_raw+ep /bin/ping
# systemd-manjaro_update-bootloader
cp /opt/${repo}/update-bootloader ${mountpoint}/usr/bin/update-bootloader
chmod +x /usr/bin/update-bootloader
# openvpn-reconnect
#cp /opt/${repo}/openvpn-reconnect /usr/bin/openvpn-reconnect

View file

@ -0,0 +1,12 @@
[Trigger]
Operation = Remove
Operation = Upgrade
Type = Package
Target = linux
Target = grub
[Action]
Depends = coreutils
Depends = bash
When = PostTransaction
Exec = /usr/bin/bash -c '/usr/bin/update-bootloader'