mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
let ipkg fail when a package file to be installed is not found
SVN-Revision: 4287
This commit is contained in:
parent
901f972ff6
commit
41779d0cbe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user