packages: dependencies: fix command line usage.
Without that fix, running ./resources/packages/dependencies/install
prints the help and does not do any dependency installation.
This was broken from the start in the commit
fe28bc3c82
("dependencies: move into
single package.").
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
parent
6f39a0011d
commit
a9c754e324
|
@ -40,7 +40,7 @@ is_base_distro()
|
||||||
if [ $# -eq 1 ] && [ "$1" == "--help" ] ; then
|
if [ $# -eq 1 ] && [ "$1" == "--help" ] ; then
|
||||||
usage "${progname}"
|
usage "${progname}"
|
||||||
exit 0
|
exit 0
|
||||||
else
|
elif [ $# -ne 0 ] ; then
|
||||||
usage "${progname}"
|
usage "${progname}"
|
||||||
exit ${EX_USAGE}
|
exit ${EX_USAGE}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue