install option (-I) does not require a directory containing a PKGBUILD
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
parent
6201853f52
commit
32b55d1587
|
@ -87,7 +87,7 @@ if [ "$EUID" != '0' ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -f PKGBUILD ]; then
|
||||
if [ ! -f PKGBUILD -a -z "$install_pkg" ]; then
|
||||
echo 'This must be run in a directory containing a PKGBUILD.'
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue