From a9c754e324871e8669bfa603c574ed023f9394bd Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 9 Dec 2023 17:52:57 +0100 Subject: [PATCH] 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 fe28bc3c824ca80345c2b206cd13d4ae75c66695 ("dependencies: move into single package."). Signed-off-by: Denis 'GNUtoo' Carikli Acked-by: Adrien 'neox' Bourmault --- resources/packages/dependencies/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/packages/dependencies/install b/resources/packages/dependencies/install index 56b63d3..50cf242 100755 --- a/resources/packages/dependencies/install +++ b/resources/packages/dependencies/install @@ -40,7 +40,7 @@ is_base_distro() if [ $# -eq 1 ] && [ "$1" == "--help" ] ; then usage "${progname}" exit 0 -else +elif [ $# -ne 0 ] ; then usage "${progname}" exit ${EX_USAGE} fi