]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(systemd-repart): shellcheck for modules.d/01systemd-repart
authorHarald Hoyer <harald@redhat.com>
Fri, 26 Mar 2021 09:29:08 +0000 (10:29 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 26 Mar 2021 11:59:20 +0000 (12:59 +0100)
modules.d/01systemd-repart/.shchkdir [new file with mode: 0644]
modules.d/01systemd-repart/module-setup.sh

diff --git a/modules.d/01systemd-repart/.shchkdir b/modules.d/01systemd-repart/.shchkdir
new file mode 100644 (file)
index 0000000..e69de29
index 0c6b6b50f04341ebf49f27e89501c03b80844ddc..dc606196074759fb9d53121603b1b2d06b261956 100755 (executable)
@@ -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
 }