aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-02-18 09:27:14 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 10:06:39 +0700
commitfec25b1c107ebf3852684d629a59973895001d4c (patch)
treea6d3a64edfe74fb4ee6ade42862fa490a0b24d05
parent5672aec8d068412033c048fb916db9b64cf2fc91 (diff)
system/bottom: Fix manpage permissions.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/bottom/bottom.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/bottom/bottom.SlackBuild b/system/bottom/bottom.SlackBuild
index b1f00af7e5b3..7eeb5a9ded37 100644
--- a/system/bottom/bottom.SlackBuild
+++ b/system/bottom/bottom.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=bottom
BINNAM=btm
VERSION=${VERSION:-0.8.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -161,8 +161,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# Install the man page.
mkdir -p $PKG/usr/man/man1
(
-cd $PKG/usr/man/man1
-tar xf $CWD/manpage.tar.gz
+ cd $PKG/usr/man/man1
+ tar xf $CWD/manpage.tar.gz
+ chown -R root:root .
+ chmod 0644 ./*.gz
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION