commit 41b83ef

hovercats  ·  2024-04-17 19:17:41 +0000 UTC
parent 5961dff
perl: remove hardlinked manpages we cant compress
1 files changed,  +5, -0
+5, -0
 1@@ -48,5 +48,10 @@ find "$1" -name \*.0 -type f -exec rm -f {} +
 2 # Fix permissions.
 3 find "$1/usr/lib" -type f -exec chmod 644 {} \;
 4 
 5+# These 2 are hardlinks, which we cannot compress
 6+rm -r \
 7+	"$1/usr/share/man/man1/perlthanks.1" \
 8+	"$1/usr/share/man/man1/perlbug.1"
 9+
10 # Compress manpages
11 find "$1/usr/share/man" -type f | xargs gzip -n -9