diff options
Diffstat (limited to 'source/a/pkgtools')
-rwxr-xr-x | source/a/pkgtools/pkgtools.SlackBuild | 2 | ||||
-rw-r--r-- | source/a/pkgtools/scripts/setup.80.make-bootdisk | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/a/pkgtools/pkgtools.SlackBuild b/source/a/pkgtools/pkgtools.SlackBuild index de41b74dc..e6e034e33 100755 --- a/source/a/pkgtools/pkgtools.SlackBuild +++ b/source/a/pkgtools/pkgtools.SlackBuild @@ -30,7 +30,7 @@ PKGNAM=pkgtools # *** UPDATE THESE WITH EACH BUILD: VERSION=15.1 ARCH=${ARCH:-noarch} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information 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 |