diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-07-26 00:03:05 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-07-26 00:03:05 +0000 |
commit | f4dd5a6d7c4ebea48cd6292744cb9def6037de80 (patch) | |
tree | f9a63646577126517383ff9753c568b65bb14c16 /openwrt/scripts/ipkg | |
parent | 5dd043367ab5d021df8df4b8de65427724deb013 (diff) |
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
Diffstat (limited to 'openwrt/scripts/ipkg')
-rwxr-xr-x | openwrt/scripts/ipkg | 4 |
1 files changed, 0 insertions, 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 |