From: Nicolas Thill Date: Wed, 26 Jul 2006 00:03:05 +0000 (+0000) Subject: let ipkg fail when a package file to be installed is not found X-Git-Tag: whiterussian_rc6~186 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b56681108e205891e216047c0210fe6f4a0cddc4;p=openwrt%2Fsvn-archive%2Fopenwrt.git let ipkg fail when a package file to be installed is not found SVN-Revision: 4287 --- 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