From cc6afe337ae5d04e02b311966583ba7bf2b5e7d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 6 Jul 2016 15:34:01 +0200 Subject: [PATCH] Optional ihttpd package --- lib/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/install.sh b/lib/install.sh index df24193..3ea2e80 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -115,4 +115,6 @@ if [ ! -z "$LOCALE_ALT" -a "$LOCALE_ALT" != 'en' ]; then fi # Install ihttpd -LC_ALL=C urpmi --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root ${IHTTPD_RPM} +if [ ! -z "${IHTTPD_RPM}" -a -f "${IHTTPD_RPM}" ]; then + LC_ALL=C urpmi --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root ${IHTTPD_RPM} +fi -- 2.41.1