mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 14:14:58 +02:00
let ipkg fail when a package file to be installed is not found
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@4287 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5dd043367a
commit
f4dd5a6d7c
@ -923,11 +923,7 @@ ipkg_install() {
|
|||||||
ipkg_install_file $ipkg_filename
|
ipkg_install_file $ipkg_filename
|
||||||
;;
|
;;
|
||||||
*.ipk | *.deb)
|
*.ipk | *.deb)
|
||||||
if [ -f "$pkg" ]; then
|
|
||||||
ipkg_install_file $pkg
|
ipkg_install_file $pkg
|
||||||
else
|
|
||||||
echo "File not found $pkg" >&2
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
ipkg_get_install $pkg || true
|
ipkg_get_install $pkg || true
|
||||||
|
Loading…
Reference in New Issue
Block a user