summaryrefslogtreecommitdiffstats
path: root/accessibility/wgetpaste/wgetpaste.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/wgetpaste/wgetpaste.SlackBuild')
-rw-r--r--accessibility/wgetpaste/wgetpaste.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/accessibility/wgetpaste/wgetpaste.SlackBuild b/accessibility/wgetpaste/wgetpaste.SlackBuild
index 997373bba6..2ae4b9c2bd 100644
--- a/accessibility/wgetpaste/wgetpaste.SlackBuild
+++ b/accessibility/wgetpaste/wgetpaste.SlackBuild
@@ -6,6 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201024 bkw: Attempted update for v2.30, but it appears to be
+# broken. The default dpaste service works fine in 2.29 and not
+# at all in 2.30. Only reason I'm "updating" the build is to add
+# comments here and in the README.
+
# 20191130 bkw: update for v2.29. Currently only dpaste works.
# 20140818 bkw:
@@ -55,11 +60,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 {} \+
# Un-gentoo-ize the help and error messages, use wgetpaste_info for the
# -i and -I options.