let ipkg fail when a package file to be installed is not found
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 26 Jul 2006 00:03:05 +0000 (00:03 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 26 Jul 2006 00:03:05 +0000 (00:03 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4287 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/ipkg

index 4d3ad850651aeed6abd4e82697061048a1d878f7..57e4457cc5a5a08bcd1b804b78c4aaf5fabd7f25 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