aboutsummaryrefslogtreecommitdiff
path: root/misc/dmg2img
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 18:55:36 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:40 +0700
commitd4b75f68c45c8f59df8dab2c0db7f4b1d649a29e (patch)
tree8aa03e68842af6cfa9c5919143f2e487c2ddf1d4 /misc/dmg2img
parentf6dd288cf3b07384106d5f5bbea74cf46ad7646d (diff)
misc/dmg2img: Remove template comments from script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'misc/dmg2img')
-rw-r--r--misc/dmg2img/dmg2img.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/dmg2img/dmg2img.SlackBuild b/misc/dmg2img/dmg2img.SlackBuild
index a64db6bc56837..941b7bae53a5f 100644
--- a/misc/dmg2img/dmg2img.SlackBuild
+++ b/misc/dmg2img/dmg2img.SlackBuild
@@ -77,11 +77,10 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Install man pages
mkdir -p $PKG/usr/man/man1
install -m 755 $CWD/dmg2img.1 $PKG/usr/man/man1/dmg2img.1
install -m 755 vfdecrypt.1 $PKG/usr/man/man1/vfdecrypt.1
-# Compress man pages
+
find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man/man1 -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done