summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-07-26 00:03:05 +0000
committerNicolas Thill <nico@openwrt.org>2006-07-26 00:03:05 +0000
commit41779d0cbe8c0d60a383d64b09aee1effe020884 (patch)
tree893dd3e57950ce1e8bcf909b55d10162d40f0f4c
parent901f972ff64b3b681939cdb4cedea7e7f9d24b53 (diff)
downloadmtk-20170518-41779d0cbe8c0d60a383d64b09aee1effe020884.zip
mtk-20170518-41779d0cbe8c0d60a383d64b09aee1effe020884.tar.gz
mtk-20170518-41779d0cbe8c0d60a383d64b09aee1effe020884.tar.bz2
let ipkg fail when a package file to be installed is not found
SVN-Revision: 4287
-rwxr-xr-xopenwrt/scripts/ipkg4
1 files changed, 0 insertions, 4 deletions
diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg
index 4d3ad85..57e4457 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