X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=update-pciids.sh;h=3ea46904033356a29a865601f75bd98c44653565;hb=9a07a7f5ca8dd2c89fd41387fcd0aa761554d25f;hp=42faeea13a5af27193669b58dbc8e30ba3fe9c43;hpb=bae18059dd61ae42b3c5d7c36b55cb4e49559884;p=pciutils.git diff --git a/update-pciids.sh b/update-pciids.sh index 42faeea..3ea4690 100755 --- a/update-pciids.sh +++ b/update-pciids.sh @@ -60,7 +60,7 @@ if ! $GREP >/dev/null "^C " $DEST.neww ; then fi if [ -f $DEST ] ; then - mv $DEST $DEST.old + ln -f $DEST $DEST.old # --reference is supported only by chmod from GNU file, so let's ignore any errors chmod -f --reference=$DEST.old $DEST.neww 2>/dev/null || true fi