X-Git-Url: https://git.rapsys.eu/distcook/blobdiff_plain/1692d5a7cbd26cef70649f7ac0f2ee4aa9d65f2c..cc6afe337ae5d04e02b311966583ba7bf2b5e7d0:/lib/install.sh 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