diff options
Diffstat (limited to 'source/kde')
-rwxr-xr-x | source/kde/kde.SlackBuild | 6 | ||||
-rw-r--r-- | source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild | 22 |
2 files changed, 14 insertions, 14 deletions
diff --git a/source/kde/kde.SlackBuild b/source/kde/kde.SlackBuild index 11c8f2bd..06ae53d3 100755 --- a/source/kde/kde.SlackBuild +++ b/source/kde/kde.SlackBuild @@ -80,9 +80,9 @@ fix_perms() { chown -R root:root $target_dir find $target_dir \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ } strip_binaries() { @@ -321,7 +321,7 @@ build_mod_pkg () { fi # Get rid of zero-length junk files: - find $PKG/usr/doc/${PKGNAME}-$MODULAR_PACKAGE_VERSION -type f -size 0 -exec rm --verbose "{}" \; + find $PKG/usr/doc/${PKGNAME}-$MODULAR_PACKAGE_VERSION -type f -size 0 -exec rm --verbose "{}" \+ rmdir --verbose $PKG/usr/doc/${PKGNAME}-$MODULAR_PACKAGE_VERSION 2> /dev/null # Strip binaries: diff --git a/source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild b/source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild index 399cc1f8..0eb4e47f 100644 --- a/source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild +++ b/source/kde/pre-install/kdewebdev/tidy/tidy.SlackBuild @@ -60,17 +60,17 @@ cd ${PKGNAM} # Make sure ownerships and permissions are sane: chown -R root:root . -find . -perm 666 -exec chmod 644 {} \; -find . -perm 664 -exec chmod 644 {} \; -find . -perm 600 -exec chmod 644 {} \; -find . -perm 444 -exec chmod 644 {} \; -find . -perm 400 -exec chmod 644 {} \; -find . -perm 440 -exec chmod 644 {} \; -find . -perm 777 -exec chmod 755 {} \; -find . -perm 775 -exec chmod 755 {} \; -find . -perm 511 -exec chmod 755 {} \; -find . -perm 711 -exec chmod 755 {} \; -find . -perm 555 -exec chmod 755 {} \; +find . -perm 666 -exec chmod 644 {} \+ +find . -perm 664 -exec chmod 644 {} \+ +find . -perm 600 -exec chmod 644 {} \+ +find . -perm 444 -exec chmod 644 {} \+ +find . -perm 400 -exec chmod 644 {} \+ +find . -perm 440 -exec chmod 644 {} \+ +find . -perm 777 -exec chmod 755 {} \+ +find . -perm 775 -exec chmod 755 {} \+ +find . -perm 511 -exec chmod 755 {} \+ +find . -perm 711 -exec chmod 755 {} \+ +find . -perm 555 -exec chmod 755 {} \+ # Prepare autoconf: sh build/gnuauto/setup.sh |