summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/hungrycat/README10
-rw-r--r--system/hungrycat/hungrycat.SlackBuild10
-rw-r--r--system/hungrycat/hungrycat.info2
3 files changed, 8 insertions, 14 deletions
diff --git a/system/hungrycat/README b/system/hungrycat/README
index 15b01421d4..cd8462cc1a 100644
--- a/system/hungrycat/README
+++ b/system/hungrycat/README
@@ -1,7 +1,7 @@
hungrycat ('cat' and 'rm' in a single tool)
-hungrycat is a tool that prints contents of a file on the standard output,
-while simultaneously freeing disk space occupied by the file. It can be
-useful if you need to process a large file, but you don't have enough
-space to store the output file and you wouldn't need the input file
-afterwards.
+hungrycat is a tool that prints contents of a file on the standard
+output, while simultaneously freeing disk space occupied by the
+file. It can be useful if you need to process a large file, but you
+don't have enough space to store the output file and you wouldn't need
+the input file afterwards.
diff --git a/system/hungrycat/hungrycat.SlackBuild b/system/hungrycat/hungrycat.SlackBuild
index 3a912dc062..fca00b8cdc 100644
--- a/system/hungrycat/hungrycat.SlackBuild
+++ b/system/hungrycat/hungrycat.SlackBuild
@@ -26,9 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -61,11 +58,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/system/hungrycat/hungrycat.info b/system/hungrycat/hungrycat.info
index 399ea385d5..cd7b311e4b 100644
--- a/system/hungrycat/hungrycat.info
+++ b/system/hungrycat/hungrycat.info
@@ -1,6 +1,6 @@
PRGNAM="hungrycat"
VERSION="0.4.1"
-HOMEPAGE="http://jwilk.net/software/hungrycat"
+HOMEPAGE="https://jwilk.net/software/hungrycat"
DOWNLOAD="https://github.com/jwilk/hungrycat/releases/download/0.4.1/hungrycat-0.4.1.tar.gz"
MD5SUM="20c7ce9fc38a1734cc713025479fc61d"
DOWNLOAD_x86_64=""