rpmextract: there's no point requiring bash; the shell scripts don't have bashisms.

This commit is contained in:
Juan RP 2014-05-08 18:49:00 +02:00
parent 65bf4d6fca
commit 0e09b2dd20
3 changed files with 4 additions and 4 deletions
srcpkgs/rpmextract

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
pkg=$1 pkg=$1
if [ "$pkg" = "" -o ! -e "$pkg" ]; then if [ "$pkg" = "" -o ! -e "$pkg" ]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
if [ "$1" = "" -o ! -e "$1" ]; then if [ "$1" = "" -o ! -e "$1" ]; then
echo "no package supplied" 1>&2 echo "no package supplied" 1>&2
exit 1 exit 1

View file

@ -1,12 +1,12 @@
# Template file for 'rpmextract' # Template file for 'rpmextract'
pkgname=rpmextract pkgname=rpmextract
version=1.0 version=1.1
revision=1 revision=1
short_desc="Script to convert or extract RPM archives (contains rpm2cpio)" short_desc="Script to convert or extract RPM archives (contains rpm2cpio)"
maintainer="Ypnose <linuxienATlegtuxDOTorg>" maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL" license="GPL"
homepage="http://www.archlinux.org" homepage="http://www.archlinux.org"
depends="bash bsdtar coreutils" depends="bsdtar coreutils"
noarch="yes" noarch="yes"
do_install() { do_install() {