From 99ff3cba22ea1507219b9c9844c5cce71c0a9d74 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 3 Mar 2022 10:28:31 +0100 Subject: [PATCH] avoid erroring on non-existant $PKG$PREFIX/man --- ap/amdgpud/SlackBuild | 2 +- ap/bandwhich/SlackBuild | 2 +- ap/bat/SlackBuild | 2 +- ap/btm/SlackBuild | 2 +- ap/checkssl/SlackBuild | 2 +- ap/delta/SlackBuild | 2 +- ap/diskus/SlackBuild | 2 +- ap/dive/SlackBuild | 2 +- ap/dust/SlackBuild | 2 +- ap/exa/SlackBuild | 2 +- ap/f3/SlackBuild | 2 +- ap/fd/SlackBuild | 2 +- ap/grex/SlackBuild | 2 +- ap/himalaya/SlackBuild | 2 +- ap/ht/SlackBuild | 2 +- ap/hyperfine/SlackBuild | 2 +- ap/ijq/SlackBuild | 2 +- ap/ion/SlackBuild | 2 +- ap/lsd/SlackBuild | 2 +- ap/mdcat/SlackBuild | 2 +- ap/nu/SlackBuild | 2 +- ap/oil/SlackBuild | 2 +- ap/procs/SlackBuild | 2 +- ap/ripgrep/SlackBuild | 2 +- ap/rustup/SlackBuild | 2 +- ap/sd/SlackBuild | 2 +- ap/starship/SlackBuild | 2 +- ap/stow/SlackBuild | 2 +- ap/tldr/SlackBuild | 2 +- ap/tv/SlackBuild | 2 +- ap/viu/SlackBuild | 2 +- ap/ycmd/SlackBuild | 2 +- ap/ytop/SlackBuild | 2 +- d/dtc/SlackBuild | 2 +- d/rbspy/SlackBuild | 2 +- d/retro/SlackBuild | 2 +- d/scryer-prolog/SlackBuild | 2 +- l/basu/SlackBuild | 2 +- l/raylib/SlackBuild | 2 +- rebuild-and-install-all.sh | 9 ++++----- wayland/cage/SlackBuild | 2 +- wayland/foot/SlackBuild | 2 +- wayland/hikari/SlackBuild | 2 +- wayland/kanshi/SlackBuild | 2 +- wayland/lswt/SlackBuild | 2 +- wayland/mako/SlackBuild | 2 +- wayland/qtile/SlackBuild | 2 +- wayland/river/SlackBuild | 2 +- wayland/seatd/SlackBuild | 2 +- wayland/sway/SlackBuild | 2 +- wayland/swaybg/SlackBuild | 2 +- wayland/swayidle/SlackBuild | 2 +- wayland/swaylock/SlackBuild | 2 +- wayland/swayr/SlackBuild | 2 +- wayland/waybar/SlackBuild | 2 +- wayland/wlopm/SlackBuild | 2 +- wayland/wlr-randr/SlackBuild | 2 +- wayland/wofi/SlackBuild | 4 ++-- xap/alacritty/SlackBuild | 2 +- xap/alttab/SlackBuild | 2 +- xap/gammastep/SlackBuild | 2 +- xap/i3status-rust/SlackBuild | 4 ++-- xap/image-roll/SlackBuild | 2 +- xap/makemkv/SlackBuild | 2 +- xap/polybar/SlackBuild | 2 +- xap/rkvm/SlackBuild | 2 +- xap/wezterm/SlackBuild | 2 +- xap/x48/SlackBuild | 2 +- xap/x49gp/SlackBuild | 2 +- y/cboard/SlackBuild | 2 +- 70 files changed, 75 insertions(+), 76 deletions(-) diff --git a/ap/amdgpud/SlackBuild b/ap/amdgpud/SlackBuild index 5df6e5e1..89299ff2 100755 --- a/ap/amdgpud/SlackBuild +++ b/ap/amdgpud/SlackBuild @@ -49,7 +49,7 @@ cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/bandwhich/SlackBuild b/ap/bandwhich/SlackBuild index d39ce3d9..e8410668 100755 --- a/ap/bandwhich/SlackBuild +++ b/ap/bandwhich/SlackBuild @@ -49,7 +49,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/bat/SlackBuild b/ap/bat/SlackBuild index 249229a3..34412fd3 100755 --- a/ap/bat/SlackBuild +++ b/ap/bat/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* .md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/btm/SlackBuild b/ap/btm/SlackBuild index ef2cc40d..31d28e01 100755 --- a/ap/btm/SlackBuild +++ b/ap/btm/SlackBuild @@ -49,7 +49,7 @@ cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/checkssl/SlackBuild b/ap/checkssl/SlackBuild index c762f797..5f908c56 100755 --- a/ap/checkssl/SlackBuild +++ b/ap/checkssl/SlackBuild @@ -43,7 +43,7 @@ cp $REPOSITORY/LICENSE $REPOSITORY/README.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/delta/SlackBuild b/ap/delta/SlackBuild index 7966438b..60ea2cbf 100755 --- a/ap/delta/SlackBuild +++ b/ap/delta/SlackBuild @@ -49,7 +49,7 @@ cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/diskus/SlackBuild b/ap/diskus/SlackBuild index 2812c91b..8e44c794 100755 --- a/ap/diskus/SlackBuild +++ b/ap/diskus/SlackBuild @@ -49,7 +49,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/dive/SlackBuild b/ap/dive/SlackBuild index 86740f09..e1eaa3f3 100755 --- a/ap/dive/SlackBuild +++ b/ap/dive/SlackBuild @@ -49,7 +49,7 @@ cp LICENSE README.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/dust/SlackBuild b/ap/dust/SlackBuild index 7ebf2277..feda5b97 100755 --- a/ap/dust/SlackBuild +++ b/ap/dust/SlackBuild @@ -49,7 +49,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/exa/SlackBuild b/ap/exa/SlackBuild index 529fcee3..f76a927b 100755 --- a/ap/exa/SlackBuild +++ b/ap/exa/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/f3/SlackBuild b/ap/f3/SlackBuild index 2d5add04..9dacbdcd 100755 --- a/ap/f3/SlackBuild +++ b/ap/f3/SlackBuild @@ -50,7 +50,7 @@ cp LICENSE README changelog $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/fd/SlackBuild b/ap/fd/SlackBuild index 6a2895e8..0b008da8 100755 --- a/ap/fd/SlackBuild +++ b/ap/fd/SlackBuild @@ -53,7 +53,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/grex/SlackBuild b/ap/grex/SlackBuild index 9503b7d7..4e503465 100755 --- a/ap/grex/SlackBuild +++ b/ap/grex/SlackBuild @@ -49,7 +49,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/himalaya/SlackBuild b/ap/himalaya/SlackBuild index 007fb6f2..b0c7d016 100755 --- a/ap/himalaya/SlackBuild +++ b/ap/himalaya/SlackBuild @@ -56,7 +56,7 @@ $PKG$PREFIX/bin/himalaya completion bash > $PKG/usr/share/bash-completion/comple cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/ht/SlackBuild b/ap/ht/SlackBuild index 693b51d9..0a3d39a9 100755 --- a/ap/ht/SlackBuild +++ b/ap/ht/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/hyperfine/SlackBuild b/ap/hyperfine/SlackBuild index d740d8c7..773fd8bd 100755 --- a/ap/hyperfine/SlackBuild +++ b/ap/hyperfine/SlackBuild @@ -52,7 +52,7 @@ cp doc/${PRGNAM}.1 $PKG$PREFIX/man/${PRGNAM}.1 cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/ijq/SlackBuild b/ap/ijq/SlackBuild index 5e60f710..67349279 100755 --- a/ap/ijq/SlackBuild +++ b/ap/ijq/SlackBuild @@ -44,7 +44,7 @@ cp COPYING* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/ion/SlackBuild b/ap/ion/SlackBuild index 331c520c..675deb98 100755 --- a/ap/ion/SlackBuild +++ b/ap/ion/SlackBuild @@ -48,7 +48,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/lsd/SlackBuild b/ap/lsd/SlackBuild index c680c970..f6048fa7 100755 --- a/ap/lsd/SlackBuild +++ b/ap/lsd/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/mdcat/SlackBuild b/ap/mdcat/SlackBuild index 2022c9f9..9b5eb80c 100755 --- a/ap/mdcat/SlackBuild +++ b/ap/mdcat/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/nu/SlackBuild b/ap/nu/SlackBuild index 138badd0..9b04ad4f 100755 --- a/ap/nu/SlackBuild +++ b/ap/nu/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* .md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/oil/SlackBuild b/ap/oil/SlackBuild index 8de427ac..6e9ad827 100755 --- a/ap/oil/SlackBuild +++ b/ap/oil/SlackBuild @@ -41,7 +41,7 @@ DESTDIR=$PKG ./install # Cleaning -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; cd $PKG chown -R root:root . diff --git a/ap/procs/SlackBuild b/ap/procs/SlackBuild index dc3a355c..471217ed 100755 --- a/ap/procs/SlackBuild +++ b/ap/procs/SlackBuild @@ -49,7 +49,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/ripgrep/SlackBuild b/ap/ripgrep/SlackBuild index be767446..362945b6 100755 --- a/ap/ripgrep/SlackBuild +++ b/ap/ripgrep/SlackBuild @@ -49,7 +49,7 @@ cp -r doc/ CHANGELOG.md COPYING LICENSE-MIT README.md UNLICENSE $PKG$PREFIX/doc/ cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/rustup/SlackBuild b/ap/rustup/SlackBuild index 778e53b7..4edeab15 100755 --- a/ap/rustup/SlackBuild +++ b/ap/rustup/SlackBuild @@ -56,7 +56,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/sd/SlackBuild b/ap/sd/SlackBuild index 200561bb..67486b83 100755 --- a/ap/sd/SlackBuild +++ b/ap/sd/SlackBuild @@ -49,7 +49,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/starship/SlackBuild b/ap/starship/SlackBuild index 393bc905..3c406c8b 100755 --- a/ap/starship/SlackBuild +++ b/ap/starship/SlackBuild @@ -49,7 +49,7 @@ cp *.md LICENSE* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/stow/SlackBuild b/ap/stow/SlackBuild index c60db1e3..f38a4a0a 100755 --- a/ap/stow/SlackBuild +++ b/ap/stow/SlackBuild @@ -54,7 +54,7 @@ cp AUTHORS COPYING INSTALL* MANIFEST* NEWS README* THANKS TODO $PKG$PREFIX/doc/$ cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -exec gzip -9 {} \; find $PKG$PREFIX/info -type f -name dir -delete find $PKG$PREFIX/info -type f -exec gzip -9 {} \; diff --git a/ap/tldr/SlackBuild b/ap/tldr/SlackBuild index b23d88fe..f2f1a197 100755 --- a/ap/tldr/SlackBuild +++ b/ap/tldr/SlackBuild @@ -49,7 +49,7 @@ cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/tv/SlackBuild b/ap/tv/SlackBuild index ebee07cf..b20fccee 100755 --- a/ap/tv/SlackBuild +++ b/ap/tv/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/viu/SlackBuild b/ap/viu/SlackBuild index f3964757..935e0123 100755 --- a/ap/viu/SlackBuild +++ b/ap/viu/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/ycmd/SlackBuild b/ap/ycmd/SlackBuild index 2a7400a5..5d1183b5 100755 --- a/ap/ycmd/SlackBuild +++ b/ap/ycmd/SlackBuild @@ -56,7 +56,7 @@ cp *.md *.txt CORE_VERSION $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/ap/ytop/SlackBuild b/ap/ytop/SlackBuild index b5f8bc8f..6400d668 100755 --- a/ap/ytop/SlackBuild +++ b/ap/ytop/SlackBuild @@ -49,7 +49,7 @@ cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/d/dtc/SlackBuild b/d/dtc/SlackBuild index e04c719e..f398d9f1 100755 --- a/d/dtc/SlackBuild +++ b/d/dtc/SlackBuild @@ -44,7 +44,7 @@ cp -R Documentation/ GPL README* $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/d/rbspy/SlackBuild b/d/rbspy/SlackBuild index e13726fb..866d0075 100755 --- a/d/rbspy/SlackBuild +++ b/d/rbspy/SlackBuild @@ -49,7 +49,7 @@ cp *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/d/retro/SlackBuild b/d/retro/SlackBuild index 4a0d175a..1da63abe 100755 --- a/d/retro/SlackBuild +++ b/d/retro/SlackBuild @@ -44,7 +44,7 @@ make install PREFIX=$PREFIX DESTDIR=$PKG MANDIR=$PREFIX/man/man1 DOCSDIR=$PREFIX cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/d/scryer-prolog/SlackBuild b/d/scryer-prolog/SlackBuild index a8dbbc86..ffe091d0 100755 --- a/d/scryer-prolog/SlackBuild +++ b/d/scryer-prolog/SlackBuild @@ -49,7 +49,7 @@ cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/l/basu/SlackBuild b/l/basu/SlackBuild index 85d10143..d5563754 100755 --- a/l/basu/SlackBuild +++ b/l/basu/SlackBuild @@ -48,7 +48,7 @@ cp LICENSE* *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/l/raylib/SlackBuild b/l/raylib/SlackBuild index b82a240e..733d8aba 100755 --- a/l/raylib/SlackBuild +++ b/l/raylib/SlackBuild @@ -51,7 +51,7 @@ rm -fr $PKG$PREFIX/doc/$PRGNAM/cmake # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/rebuild-and-install-all.sh b/rebuild-and-install-all.sh index 136c2b41..d959ebe4 100755 --- a/rebuild-and-install-all.sh +++ b/rebuild-and-install-all.sh @@ -4,10 +4,9 @@ WD=/home/installs/SlackBuilds CAT=${CAT:-$1} cd $WD -./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^$CAT.*" +./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^${CAT}/.*" -for p in $(./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^$CAT.*"); do - cd $p - bash -e ./SlackBuild - cd $WD +for p in $(./what-s_installed.sh | grep -v "^❌.*" | cut -d\ -f2 | grep "^${CAT}/.*"); do + (cd $p + bash -e ./SlackBuild || echo "ERROR $p" >> $WD/_errors_rebuild) done diff --git a/wayland/cage/SlackBuild b/wayland/cage/SlackBuild index 8b9c21da..dd475f12 100755 --- a/wayland/cage/SlackBuild +++ b/wayland/cage/SlackBuild @@ -50,7 +50,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/foot/SlackBuild b/wayland/foot/SlackBuild index a890aae7..becb83be 100755 --- a/wayland/foot/SlackBuild +++ b/wayland/foot/SlackBuild @@ -51,7 +51,7 @@ cp -R themes $PKG$PREFIX/share/$PRGNAM # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/hikari/SlackBuild b/wayland/hikari/SlackBuild index d5fccfcc..6ed2b343 100755 --- a/wayland/hikari/SlackBuild +++ b/wayland/hikari/SlackBuild @@ -77,7 +77,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/kanshi/SlackBuild b/wayland/kanshi/SlackBuild index 19532ba9..fa0adb58 100755 --- a/wayland/kanshi/SlackBuild +++ b/wayland/kanshi/SlackBuild @@ -51,7 +51,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/lswt/SlackBuild b/wayland/lswt/SlackBuild index 6a441a5a..ad7b41c8 100755 --- a/wayland/lswt/SlackBuild +++ b/wayland/lswt/SlackBuild @@ -44,7 +44,7 @@ cp LICENSE README $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/mako/SlackBuild b/wayland/mako/SlackBuild index 7749e1d5..dbc18e41 100755 --- a/wayland/mako/SlackBuild +++ b/wayland/mako/SlackBuild @@ -51,7 +51,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/qtile/SlackBuild b/wayland/qtile/SlackBuild index efde6107..fcf32905 100755 --- a/wayland/qtile/SlackBuild +++ b/wayland/qtile/SlackBuild @@ -82,7 +82,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/river/SlackBuild b/wayland/river/SlackBuild index 4d0839eb..2d77b0dc 100755 --- a/wayland/river/SlackBuild +++ b/wayland/river/SlackBuild @@ -90,7 +90,7 @@ cp -a docs/ example/ contrib/ AUTHORS LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/seatd/SlackBuild b/wayland/seatd/SlackBuild index 87e18b5d..4f4e58ce 100755 --- a/wayland/seatd/SlackBuild +++ b/wayland/seatd/SlackBuild @@ -46,7 +46,7 @@ cp LICENSE README.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/sway/SlackBuild b/wayland/sway/SlackBuild index fc1fe24e..db2bac7b 100755 --- a/wayland/sway/SlackBuild +++ b/wayland/sway/SlackBuild @@ -102,7 +102,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/swaybg/SlackBuild b/wayland/swaybg/SlackBuild index deb12293..a3011b1e 100755 --- a/wayland/swaybg/SlackBuild +++ b/wayland/swaybg/SlackBuild @@ -48,7 +48,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/swayidle/SlackBuild b/wayland/swayidle/SlackBuild index d8d0f05c..d306a34a 100755 --- a/wayland/swayidle/SlackBuild +++ b/wayland/swayidle/SlackBuild @@ -48,7 +48,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/swaylock/SlackBuild b/wayland/swaylock/SlackBuild index 38718b00..bf7ca0fb 100755 --- a/wayland/swaylock/SlackBuild +++ b/wayland/swaylock/SlackBuild @@ -48,7 +48,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/swayr/SlackBuild b/wayland/swayr/SlackBuild index 6cd7de2c..00eb49ec 100755 --- a/wayland/swayr/SlackBuild +++ b/wayland/swayr/SlackBuild @@ -68,7 +68,7 @@ cp -a LICENSE *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/waybar/SlackBuild b/wayland/waybar/SlackBuild index 500e3be1..2abc153c 100755 --- a/wayland/waybar/SlackBuild +++ b/wayland/waybar/SlackBuild @@ -55,7 +55,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/wlopm/SlackBuild b/wayland/wlopm/SlackBuild index 99010187..32493b82 100755 --- a/wayland/wlopm/SlackBuild +++ b/wayland/wlopm/SlackBuild @@ -44,7 +44,7 @@ cp LICENSE README $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/wlr-randr/SlackBuild b/wayland/wlr-randr/SlackBuild index db34d392..30790613 100755 --- a/wayland/wlr-randr/SlackBuild +++ b/wayland/wlr-randr/SlackBuild @@ -51,7 +51,7 @@ cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -e $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/wayland/wofi/SlackBuild b/wayland/wofi/SlackBuild index aaff7f85..5e3e8ece 100755 --- a/wayland/wofi/SlackBuild +++ b/wayland/wofi/SlackBuild @@ -40,12 +40,12 @@ meson install --destdir=$PKG cd ../ mkdir -p $PKG$PREFIX/doc/$PRGNAM -cp LICENSE *.md $PKG$PREFIX/doc/$PRGNAM/ +cp *.md $PKG$PREFIX/doc/$PRGNAM/ # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -name "*.?" -type f -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/alacritty/SlackBuild b/xap/alacritty/SlackBuild index c00c768e..08a677c1 100755 --- a/xap/alacritty/SlackBuild +++ b/xap/alacritty/SlackBuild @@ -69,7 +69,7 @@ cp -a docs/ extra/ *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/alttab/SlackBuild b/xap/alttab/SlackBuild index 111d04d0..3a7cba19 100755 --- a/xap/alttab/SlackBuild +++ b/xap/alttab/SlackBuild @@ -65,7 +65,7 @@ cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; chown -R root:root . find . \ diff --git a/xap/gammastep/SlackBuild b/xap/gammastep/SlackBuild index 76e60c05..111eaeb4 100755 --- a/xap/gammastep/SlackBuild +++ b/xap/gammastep/SlackBuild @@ -53,7 +53,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/i3status-rust/SlackBuild b/xap/i3status-rust/SlackBuild index 12bf9219..155636d7 100755 --- a/xap/i3status-rust/SlackBuild +++ b/xap/i3status-rust/SlackBuild @@ -50,13 +50,13 @@ cp -R doc/ example/ LICENSE *.md $PKG$PREFIX/doc/$PRGNAM mkdir -p $PKG$PREFIX/man cp man/i3status-rs.1 $PKG$PREFIX/man -find $PKG$PREFIX/man -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -exec gzip -9 {} \; # correction cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/image-roll/SlackBuild b/xap/image-roll/SlackBuild index f45e390c..271377f0 100755 --- a/xap/image-roll/SlackBuild +++ b/xap/image-roll/SlackBuild @@ -49,7 +49,7 @@ cp LICENCE* *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/makemkv/SlackBuild b/xap/makemkv/SlackBuild index a9be4605..cb3de1e5 100755 --- a/xap/makemkv/SlackBuild +++ b/xap/makemkv/SlackBuild @@ -72,7 +72,7 @@ cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; chown -R root:root . find . \ diff --git a/xap/polybar/SlackBuild b/xap/polybar/SlackBuild index dd70d4ef..76e22e95 100755 --- a/xap/polybar/SlackBuild +++ b/xap/polybar/SlackBuild @@ -59,7 +59,7 @@ cp LICENSE *.md $PKG/usr/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/rkvm/SlackBuild b/xap/rkvm/SlackBuild index 6ffc86f1..a4631878 100755 --- a/xap/rkvm/SlackBuild +++ b/xap/rkvm/SlackBuild @@ -140,7 +140,7 @@ EOF cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/wezterm/SlackBuild b/xap/wezterm/SlackBuild index 281ef085..f3e36665 100755 --- a/xap/wezterm/SlackBuild +++ b/xap/wezterm/SlackBuild @@ -50,7 +50,7 @@ cp *.md $PKG$PREFIX/doc/$PRGNAM cd $PKG chown -R root:root * -find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -not -name \*.gz -exec gzip -9 {} \; # embaumement mkdir -p $PKG/install diff --git a/xap/x48/SlackBuild b/xap/x48/SlackBuild index 0f9f3c1d..fff077ed 100755 --- a/xap/x48/SlackBuild +++ b/xap/x48/SlackBuild @@ -70,7 +70,7 @@ cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; chown -R root:root . find . \ diff --git a/xap/x49gp/SlackBuild b/xap/x49gp/SlackBuild index d27f9407..8c9adc23 100755 --- a/xap/x49gp/SlackBuild +++ b/xap/x49gp/SlackBuild @@ -79,7 +79,7 @@ cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; chown -R root:root . find . \ diff --git a/y/cboard/SlackBuild b/y/cboard/SlackBuild index e615fb3c..3b77627d 100755 --- a/y/cboard/SlackBuild +++ b/y/cboard/SlackBuild @@ -62,7 +62,7 @@ cp COPYING NEWS doc/config.example INSTALL README KnownBugs THANKS TODO $PKG$PRE find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; +[ -d $PKG$PREFIX/man ] && find $PKG$PREFIX/man -type f -name "*.?" -exec gzip -9 {} \; chown -R root:root $PKG find $PKG -type f -exec chmod 644 {} \;