diff options
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1408,6 +1408,13 @@ default_doc() { # compress man pages local mandir="$subpkgdir"/usr/share/man + [ -d "$mandir" ] && find "$mandir" -type l \ + -a \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \ + | while read symlink; do + + ln -s $(readlink $symlink).gz "$symlink".gz + rm -f "$symlink" + done [ -d "$mandir" ] && find "$mandir" -type f \ -a \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \ -exec stat -c "%i %n" \{\} \; | while read inode name; do @@ -1428,13 +1435,6 @@ default_doc() { [ $islink -eq 0 ] && gzip -9 "$name" done - [ -d "$mandir" ] && find "$mandir" -type l \ - -a \( -name \*.[0-8n] -o -name \*.[0-8][a-z]* \) \ - | while read symlink; do - - ln -s $(readlink $symlink).gz "$symlink".gz - rm -f "$symlink" - done rm -f "$subpkgdir/usr/share/info/dir" |