diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-07-26 00:03:05 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-07-26 00:03:05 +0000 |
commit | af034797eeb62b62ac05442d5a688b28ccd0f16b (patch) | |
tree | fd27ea72f57455cab98d5db2fe9ee8760a2020f5 /openwrt/scripts/ipkg | |
parent | 0ad465fc7d0394647ee8f64baf66c65b5db28abb (diff) | |
download | mtk-20170518-af034797eeb62b62ac05442d5a688b28ccd0f16b.zip mtk-20170518-af034797eeb62b62ac05442d5a688b28ccd0f16b.tar.gz mtk-20170518-af034797eeb62b62ac05442d5a688b28ccd0f16b.tar.bz2 |
let ipkg fail when a package file to be installed is not found
SVN-Revision: 4287
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 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 |