kopia lustrzana https://gitlab.com/sane-project/backends
Simplify - use test(1) and && instead of 'if ... then ... fi"
rodzic
a129b7767d
commit
0b978ea742
|
@ -12,9 +12,8 @@ case $DEVCLASS in
|
|||
rm -f /var/run/${DEVNAME}.bus
|
||||
# probably our scanner
|
||||
chgrp wheel /dev/"$DEVNAME".*
|
||||
if [ x$BUSNAME != x ] ; then
|
||||
test -n "$BUSNAME" &&
|
||||
chown root:wheel /dev/"$BUSNAME"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
|
Ładowanie…
Reference in New Issue