summaryrefslogtreecommitdiffstats
path: root/source/a/pkgtools/scripts
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-09-08 01:33:19 +0000
committer Eric Hameleers <alien@slackware.com>2022-09-08 07:00:15 +0200
commitd7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3 (patch)
tree88bf131c609a7bbd6656498be96b854c43ae267f /source/a/pkgtools/scripts
parent64fbcd92b6a53a19a394db7fe96fa16cb31c4928 (diff)
downloadcurrent-d7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3.tar.gz
current-d7e739bb58e86a0c43f54b7e2c2972dd5f62b3c3.tar.xz
Thu Sep 8 01:33:19 UTC 202220220908013319
a/hdparm-9.65-x86_64-1.txz: Upgraded. n/samba-4.16.5-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-102.2.2-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/102.2.2/releasenotes/
Diffstat (limited to 'source/a/pkgtools/scripts')
-rw-r--r--source/a/pkgtools/scripts/setup.80.make-bootdisk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/a/pkgtools/scripts/setup.80.make-bootdisk b/source/a/pkgtools/scripts/setup.80.make-bootdisk
index 0ed8b9a14..d1dffe98f 100644
--- a/source/a/pkgtools/scripts/setup.80.make-bootdisk
+++ b/source/a/pkgtools/scripts/setup.80.make-bootdisk
@@ -36,7 +36,7 @@ while [ 0 ]; do # the bootdisk menu loop
/sbin/rescan-scsi-bus -l 1>$RDIR 2>$RDIR
# Get a list of removable block devices before the USB stick is inserted:
echo "" > $TMP/remov_prior
- for BDEV in $(ls --indicator-style none /sys/block | egrep -v "loop|ram"); do
+ for BDEV in $(ls --indicator-style none /sys/block | grep -E -v "loop|ram"); do
[ -r /sys/block/$BDEV/removable -a "$(cat /sys/block/$BDEV/removable)" == "1" ] \
&& echo $BDEV >> $TMP/remov_prior
done
@@ -64,7 +64,7 @@ WARNING! The existing contents of the USB stick will be erased. \n\
/sbin/rescan-scsi-bus -l 1>$RDIR 2>$RDIR
# Get a list of removable block devices after the USB stick is inserted:
echo "" > $TMP/remov_after
- for BDEV in $(ls --indicator-style none /sys/block | egrep -v "loop|ram"); do
+ for BDEV in $(ls --indicator-style none /sys/block | grep -E -v "loop|ram"); do
[ -r /sys/block/$BDEV/removable -a "$(cat /sys/block/$BDEV/removable)" == "1" ] \
&& echo $BDEV >> $TMP/remov_after
done