summaryrefslogtreecommitdiffstats
path: root/libraries/qt3/qt3.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2021-11-20 19:52:08 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:08:56 +0700
commit31cbafab5437f3c911a7c0d0ecee325a4f7395a0 (patch)
tree651a6cfc896c559fc496401c4542655fd872c982 /libraries/qt3/qt3.SlackBuild
parentd5fbb22ef6de00d6eafa758b6435256838992f02 (diff)
downloadslackbuilds-31cbafab5437f3c911a7c0d0ecee325a4f7395a0.tar.gz
slackbuilds-31cbafab5437f3c911a7c0d0ecee325a4f7395a0.tar.xz
libraries/qt3: Install profiles scripts -x.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qt3/qt3.SlackBuild')
-rw-r--r--libraries/qt3/qt3.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild
index 6868fc52df..5788ba542e 100644
--- a/libraries/qt3/qt3.SlackBuild
+++ b/libraries/qt3/qt3.SlackBuild
@@ -29,6 +29,7 @@
# This is based on the original SlackBuild from /extra/kde-compat in
# Slackware 13.1
+# 20211120 bkw: BUILD=2, install the profile scripts non-executable.
# 20200226 bkw: quit spamming /root, no change to package
# 20180209 bkw: fix download link, pkgs.fedoraproject.org is now toast.
# 20170324 bkw:
@@ -67,9 +68,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -199,7 +197,7 @@ cat $CWD/profile.d/qt.sh | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \
> $PKG/etc/profile.d/qt.sh
cat $CWD/profile.d/qt.csh | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \
> $PKG/etc/profile.d/qt.csh
-chmod 755 $PKG/etc/profile.d/*
+chmod 644 $PKG/etc/profile.d/*
# Strip binaries:
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \