aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2020-09-23 19:55:37 +0200
committerGuillem Jover <guillem@hadrons.org>2020-09-23 20:02:52 +0200
commitbae18059dd61ae42b3c5d7c36b55cb4e49559884 (patch)
tree9c84889d89d36ae8c8537365408b61839a212928
parent20e206ec4837d81c5bbc30880c4cae2a4432aece (diff)
downloadpciutils-bae18059dd61ae42b3c5d7c36b55cb4e49559884.tar.gz
update-pciids: Fix spacing style
Fix code alignment by using a hard-tab instead of 4 spaces. Add a blank line after set -e.
-rwxr-xr-xupdate-pciids.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update-pciids.sh b/update-pciids.sh
index 5a02ca2..42faeea 100755
--- a/update-pciids.sh
+++ b/update-pciids.sh
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
+
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"
- ${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"