diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-13 00:11:36 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-01-12 21:57:56 -0600 |
commit | 2225948be361e06dbfadf8379962df9e21961371 (patch) | |
tree | fef6a019fb28ddb29045829a7fc23883c601f120 /development | |
parent | 4d5eeb9860cb8602f4467a3ca287b401805b2b7f (diff) | |
download | slackbuilds-2225948be361e06dbfadf8379962df9e21961371.tar.gz |
development/checkbashisms: Support alternate download names.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/checkbashisms/checkbashisms.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/development/checkbashisms/checkbashisms.SlackBuild b/development/checkbashisms/checkbashisms.SlackBuild index 0850d29cfa..70911367fd 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 |