aboutsummaryrefslogtreecommitdiff
path: root/system/man-pages-es/man-pages-es.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-08-28 08:29:06 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:51:50 +0700
commit1921c1b955cc3200b3bcf0e9f50bc2de964f47bd (patch)
treeb8906a2c4920b0cb710a7f23d95fa9c2043d72b2 /system/man-pages-es/man-pages-es.SlackBuild
parentb22ff79e15d34709db57956043e9212bc674f2c1 (diff)
system/man-pages-es: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/man-pages-es/man-pages-es.SlackBuild')
-rw-r--r--system/man-pages-es/man-pages-es.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/system/man-pages-es/man-pages-es.SlackBuild b/system/man-pages-es/man-pages-es.SlackBuild
index b3b0ac57b44bd..491170bf84cc3 100644
--- a/system/man-pages-es/man-pages-es.SlackBuild
+++ b/system/man-pages-es/man-pages-es.SlackBuild
@@ -16,9 +16,6 @@ PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# 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
@@ -43,11 +40,8 @@ rm -rf $PRGNAM-$VERSION $EXTRAPRG-$EXTRAVER
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
tar xvf $CWD/$EXTRAPRG-$EXTRAVER.tar.gz
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 {} \+
# in case of dupes between man-pages-es main package and -extra, we use the
# one from -extra.
@@ -69,7 +63,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-#cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE