summaryrefslogtreecommitdiffstats
path: root/scripts/ipkg
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-26 00:03:05 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-26 00:03:05 +0000
commitb158fa0badfb05d1d5ddcdeca98b19101de0f1fe (patch)
treeb0467f47257ab1104a29570902c2fb4997839fba /scripts/ipkg
parent2381beceaf1b3a5f684b92aea3815ed2dbbb76a7 (diff)
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
Diffstat (limited to 'scripts/ipkg')
-rwxr-xr-xscripts/ipkg4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/ipkg b/scripts/ipkg
index 4d3ad8506..57e4457cc 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