X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ddf8041370ffce47c573bf84feee28e2aac122ea..744a720a8f408dbab064bb1369c78b601fcb8dfb:/scripts/ipkg diff --git a/scripts/ipkg b/scripts/ipkg index 6cd1cb440..617b03898 100755 --- a/scripts/ipkg +++ b/scripts/ipkg @@ -607,8 +607,7 @@ s/ \+/ /g'` ipkg_set_depends $pkg $new_deps done - new_deps=`echo $new_deps | sed -e 's/[[:space:]]\+/\\ -/g' | sort | uniq` + new_deps=`echo $new_deps | sed -e 's/[[:space:]]\+/\n/g' | sort | uniq` local maybe_new_pkgs= for pkg in $new_deps; do @@ -787,7 +786,7 @@ ipkg_install_file_dest() { echo "Package: $pkg Status: install ok pending" | ipkg_status_update_sd $sd $pkg mkdir -p $IPKG_PENDING_DIR - cp $filename $IPKG_PENDING_DIR + cp -f $filename $IPKG_PENDING_DIR rm -r $IPKG_TMP/$pkg/control rm -r $IPKG_TMP/$pkg/data rmdir $IPKG_TMP/$pkg