From: nico 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-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/f4dd5a6d7c4ebea48cd6292744cb9def6037de80 let ipkg fail when a package file to be installed is not found git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4287 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg index 4d3ad8506..57e4457cc 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