diff --git a/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook b/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook index fdd2551..5e262d1 100644 --- a/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook +++ b/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook @@ -17,4 +17,4 @@ Target = usr/src/*/dkms.conf [Action] Description = Ensure ESP is mounted... When = PreTransaction -Exec = /usr/bin/bash /usr/bin/refind-menu-generator +Exec = /bin/sh -c "/usr/bin/refind-menu-generator" diff --git a/usr/share/libalpm/hooks/60-refind-menu-remove.hook b/usr/share/libalpm/hooks/60-refind-menu-remove.hook index 7265a3e..77a7bb4 100644 --- a/usr/share/libalpm/hooks/60-refind-menu-remove.hook +++ b/usr/share/libalpm/hooks/60-refind-menu-remove.hook @@ -10,5 +10,5 @@ Target = usr/src/*/dkms.conf [Action] Description = Removing linux images... When = PreTransaction -Exec = /usr/bin/bash /usr/bin/refind-menu-generator +Exec = /bin/sh -c "/usr/bin/refind-menu-generator" NeedsTargets diff --git a/usr/share/libalpm/hooks/90-refind-menu-install.hook b/usr/share/libalpm/hooks/90-refind-menu-install.hook index 99a2bd3..b1f54a8 100644 --- a/usr/share/libalpm/hooks/90-refind-menu-install.hook +++ b/usr/share/libalpm/hooks/90-refind-menu-install.hook @@ -17,5 +17,5 @@ Target = usr/src/*/dkms.conf [Action] Description = Updating linux images... When = PostTransaction -Exec = /usr/bin/bash /usr/bin/refind-menu-generator +Exec = /bin/sh -c "/usr/bin/refind-menu-generator" NeedsTargets