let ipkg fail when a package file to be installed is not found
authorNicolas Thill <nico@openwrt.org>
Wed, 26 Jul 2006 00:03:05 +0000 (00:03 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 26 Jul 2006 00:03:05 +0000 (00:03 +0000)
SVN-Revision: 4287

openwrt/scripts/ipkg

index 4d3ad85..57e4457 100755 (executable)
@@ -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