From 2225948be361e06dbfadf8379962df9e21961371 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 13 Jan 2016 00:11:36 +0000 Subject: development/checkbashisms: Support alternate download names. Signed-off-by: David Spencer --- development/checkbashisms/checkbashisms.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'development/checkbashisms') diff --git a/development/checkbashisms/checkbashisms.SlackBuild b/development/checkbashisms/checkbashisms.SlackBuild index 0850d29cfacd..70911367fd13 100644 --- a/development/checkbashisms/checkbashisms.SlackBuild +++ b/development/checkbashisms/checkbashisms.SlackBuild @@ -41,9 +41,13 @@ mkdir -p $TMP $PKG $OUTPUT cd $PKG mkdir -p $PKG/usr/bin -install -m 0755 "$CWD/$PRGNAM.pl?id=$REV" $PKG/usr/bin/$PRGNAM +install -m 0755 "$CWD/$PRGNAM.pl?id=$REV" $PKG/usr/bin/$PRGNAM || \ + install -m 0755 "$CWD/$PRGNAM.pl" $PKG/usr/bin/$PRGNAM + mkdir -p $PKG/usr/man/man1 -cat "$CWD/$PRGNAM.1?id=$REV" | gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz +cat "$CWD/$PRGNAM.1?id=$REV" > $PKG/usr/man/man1/$PRGNAM.1 || \ + cat "$CWD/$PRGNAM.1" > $PKG/usr/man/man1/$PRGNAM.1 +gzip -9 $PKG/usr/man/man1/$PRGNAM.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3