summaryrefslogtreecommitdiffstats
path: root/misc/wcd/wcd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/wcd/wcd.SlackBuild')
-rw-r--r--misc/wcd/wcd.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/misc/wcd/wcd.SlackBuild b/misc/wcd/wcd.SlackBuild
index e5bc31880b..5ca81eed94 100644
--- a/misc/wcd/wcd.SlackBuild
+++ b/misc/wcd/wcd.SlackBuild
@@ -25,13 +25,13 @@
# with this program (most likely, a file named COPYING). If not, see
# <https://www.gnu.org/licenses/>.
+# 20191201 bkw: updated for v6.0.3.
# 20180612 bkw: updated for v6.0.2.
-
# 20171219 bkw: updated for v6.0.1. also, add /etc/profile.d scripts
# so wcd actually *works*.
PRGNAM=wcd
-VERSION=${VERSION:-6.0.2}
+VERSION=${VERSION:-6.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,11 +57,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 {} \+
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"