From: Raphaƫl Gertz Date: Wed, 6 Jul 2016 13:34:01 +0000 (+0200) Subject: Optional ihttpd package X-Git-Tag: 0.1~9 X-Git-Url: https://git.rapsys.eu/distcook/commitdiff_plain/cc6afe337ae5d04e02b311966583ba7bf2b5e7d0?ds=inline Optional ihttpd package --- 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