mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
add ipkg fix from whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1704 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dbaacabc74
commit
ddf8041370
@ -121,6 +121,8 @@ Valid destinations are directories or one of the dest names from $IPKG_CONF:" >&
|
|||||||
IPKG_TMP=$IPKG_ROOT/tmp/ipkg
|
IPKG_TMP=$IPKG_ROOT/tmp/ipkg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ -e "$IPKG_TMP" ] || mkdir -p $IPKG_TMP
|
||||||
|
|
||||||
# Destination specific ipkg meta-data directory
|
# Destination specific ipkg meta-data directory
|
||||||
IPKG_STATE_DIR=$IPKG_ROOT/$IPKG_DIR_PREFIX
|
IPKG_STATE_DIR=$IPKG_ROOT/$IPKG_DIR_PREFIX
|
||||||
|
|
||||||
@ -690,8 +692,6 @@ Status: install ok not-installed" | ipkg_status_update_sd $sd $pkg
|
|||||||
return 1;
|
return 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -e "$IPKG_TMP" ] || mkdir -p $IPKG_TMP
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
local tmp_pkg_file="$IPKG_TMP/"`ipkg_file_part $filename`
|
local tmp_pkg_file="$IPKG_TMP/"`ipkg_file_part $filename`
|
||||||
if ! ipkg_download `ipkg_src_byname $src`/$filename $tmp_pkg_file; then
|
if ! ipkg_download `ipkg_src_byname $src`/$filename $tmp_pkg_file; then
|
||||||
|
Loading…
Reference in New Issue
Block a user