avoid erroring on non-existant $PKG$PREFIX/man

This commit is contained in:
Gwenhael Le Moine 2022-03-03 10:28:31 +01:00
parent 57e95eb8dd
commit 99ff3cba22
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
70 changed files with 75 additions and 76 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 .

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 {} \;

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 . \

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 . \

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 . \

View file

@ -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 . \

View file

@ -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 {} \;