diff options
Diffstat (limited to 'source/t')
-rwxr-xr-x | source/t/fig2dev/fig2dev.SlackBuild | 6 | ||||
-rwxr-xr-x | source/t/texlive/texlive.SlackBuild | 2 | ||||
-rwxr-xr-x | source/t/xfig/xfig.SlackBuild | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source/t/fig2dev/fig2dev.SlackBuild b/source/t/fig2dev/fig2dev.SlackBuild index 34c434eb..28c3bb47 100755 --- a/source/t/fig2dev/fig2dev.SlackBuild +++ b/source/t/fig2dev/fig2dev.SlackBuild @@ -67,17 +67,17 @@ rm -rf ${PKGNAM}-${VERSION} tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1 cd ${PKGNAM}-$VERSION || exit 1 -find . -name "*.orig" -exec rm "{}" \; +find . -name "*.orig" -exec rm "{}" \+ # Make sure ownerships and permissions are sane: chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) -o \ \( -perm 700 -type d \) \ - -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 \) -o \ \( -perm 700 -type f \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ # Configure: CFLAGS="$SLKCFLAGS" \ diff --git a/source/t/texlive/texlive.SlackBuild b/source/t/texlive/texlive.SlackBuild index 03c79d34..2fea4a49 100755 --- a/source/t/texlive/texlive.SlackBuild +++ b/source/t/texlive/texlive.SlackBuild @@ -241,7 +241,7 @@ rmdir $PKG/usr/share/texmf-dist/doc/man mv $PKG/usr/share/texmf-dist/doc/info $PKG/usr # Handle the man pages -find $PKG/usr/man -type f -exec gzip -9 {} \; +find $PKG/usr/man -type f -exec gzip -9 {} \+ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done # Handle the GNU info pages diff --git a/source/t/xfig/xfig.SlackBuild b/source/t/xfig/xfig.SlackBuild index cc47eb74..9bd98398 100755 --- a/source/t/xfig/xfig.SlackBuild +++ b/source/t/xfig/xfig.SlackBuild @@ -66,10 +66,10 @@ chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) -o \ \( -perm 700 -type d \) \ - -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 \) -o \ \( -perm 700 -type f \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ # Eliminate menu choice for non-distributed (redundant) PDF documentation: zcat $CWD/xfig.no.pdf.ref.diff.gz | patch -E -p1 --verbose || exit 1 |