]> mj.ucw.cz Git - pciutils.git/commitdiff
update-pciids: Fix spacing style
authorGuillem Jover <guillem@hadrons.org>
Wed, 23 Sep 2020 17:55:37 +0000 (19:55 +0200)
committerGuillem Jover <guillem@hadrons.org>
Wed, 23 Sep 2020 18:02:52 +0000 (20:02 +0200)
Fix code alignment by using a hard-tab instead of 4 spaces. Add a blank
line after set -e.

update-pciids.sh

index 5a02ca25dfcd32b7067c270d3a4a1a019fc65d30..42faeea13a5af27193669b58dbc8e30ba3fe9c43 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 set -e
 #!/bin/sh
 
 set -e
+
 SRC="https://pci-ids.ucw.cz/v2.2/pci.ids"
 DEST=pci.ids
 PCI_COMPRESSED_IDS=
 SRC="https://pci-ids.ucw.cz/v2.2/pci.ids"
 DEST=pci.ids
 PCI_COMPRESSED_IDS=
@@ -31,7 +32,7 @@ fi
 
 if which curl >/dev/null 2>&1 ; then
        DL="curl -o $DEST.new $SRC"
 
 if which curl >/dev/null 2>&1 ; then
        DL="curl -o $DEST.new $SRC"
-    ${quiet} && DL="$DL -s -S"
+       ${quiet} && DL="$DL -s -S"
 elif which wget >/dev/null 2>&1 ; then
        DL="wget --no-timestamping -O $DEST.new $SRC"
        ${quiet} && DL="$DL -q"
 elif which wget >/dev/null 2>&1 ; then
        DL="wget --no-timestamping -O $DEST.new $SRC"
        ${quiet} && DL="$DL -q"