From: Harald Hoyer Date: Fri, 26 Mar 2021 09:29:08 +0000 (+0100) Subject: fix(systemd-repart): shellcheck for modules.d/01systemd-repart X-Git-Tag: 054~269 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc7bf456ab79a9061f85967a1249a74f1a0ce50;p=thirdparty%2Fdracut.git fix(systemd-repart): shellcheck for modules.d/01systemd-repart --- diff --git a/modules.d/01systemd-repart/.shchkdir b/modules.d/01systemd-repart/.shchkdir new file mode 100644 index 000000000..e69de29bb diff --git a/modules.d/01systemd-repart/module-setup.sh b/modules.d/01systemd-repart/module-setup.sh index 0c6b6b50f..dc6061960 100755 --- a/modules.d/01systemd-repart/module-setup.sh +++ b/modules.d/01systemd-repart/module-setup.sh @@ -27,17 +27,16 @@ depends() { install() { inst_multiple -o \ - $libdir/repart.d/*.conf \ - $systemdsystemunitdir/systemd-repart.service \ - $systemdsystemunitdir/initrd-root-fs.target.wants/systemd-repart.service \ + "$libdir"/repart.d/*.conf \ + "$systemdsystemunitdir"/systemd-repart.service \ + "$systemdsystemunitdir"/initrd-root-fs.target.wants/systemd-repart.service \ systemd-repart # Install the hosts local user configurations if enabled. if [[ $hostonly ]]; then inst_multiple -H -o \ /etc/repart.d/*.conf \ - $systemdsystemconfdir/systemd-repart.service \ - $systemdsystemconfdir/systemd-repart.service.d/*.conf \ - ${NULL} + "$systemdsystemconfdir"/systemd-repart.service \ + "$systemdsystemconfdir"/systemd-repart.service.d/*.conf fi }