aboutsummaryrefslogtreecommitdiffstats
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
commitbbe34c995114a9985eab2bef87c8af8cf5a631c6 (patch)
treeb0467f47257ab1104a29570902c2fb4997839fba
parent986e640928a58b7fe4adf30543b2c42434c0e668 (diff)
downloadmaster-187ad058-bbe34c995114a9985eab2bef87c8af8cf5a631c6.tar.gz
master-187ad058-bbe34c995114a9985eab2bef87c8af8cf5a631c6.tar.bz2
master-187ad058-bbe34c995114a9985eab2bef87c8af8cf5a631c6.zip
let ipkg fail when a package file to be installed is not found
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4287 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/ipkg4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/ipkg b/scripts/ipkg
index 4d3ad85065..57e4457cc5 100755
--- a/scripts/ipkg
+++ b/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