From af034797eeb62b62ac05442d5a688b28ccd0f16b Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Wed, 26 Jul 2006 00:03:05 +0000 Subject: [PATCH] let ipkg fail when a package file to be installed is not found SVN-Revision: 4287 --- openwrt/scripts/ipkg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg index 4d3ad85065..57e4457cc5 100755 --- a/openwrt/scripts/ipkg +++ b/openwrt/scripts/ipkg @@ -923,11 +923,7 @@ ipkg_install() { ipkg_install_file $ipkg_filename ;; *.ipk | *.deb) - if [ -f "$pkg" ]; then ipkg_install_file $pkg - else - echo "File not found $pkg" >&2 - fi ;; *) ipkg_get_install $pkg || true -- 2.30.2