diff --git a/srcpkgs/xbps-triggers/files/systemd-service b/srcpkgs/xbps-triggers/files/systemd-service index 45d584e8cc6..e2842a5f125 100755 --- a/srcpkgs/xbps-triggers/files/systemd-service +++ b/srcpkgs/xbps-triggers/files/systemd-service @@ -131,7 +131,8 @@ _EOF done # Load modules specified in systemd_modules files. for f in ${systemd_modules}; do - for j in $(cat usr/lib/modules-load.d/${f}); do + [ ! -f "usr/lib/modules-load.d/${f}" ] && continue + for j in "$(cat usr/lib/modules-load.d/${f})"; do modprobe -q ${j} || : done done diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index f305bb688f2..859a1f72814 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.72 +version=0.73 revision=1 bootstrap=yes short_desc="The XBPS triggers for Void Linux"