From 00e6db335cfa9f8d8cb3deebb8069888ce2e6662 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 18 Mar 2006 21:08:35 +0000 Subject: [PATCH] sync whiterussian and kamikaze ipkg script SVN-Revision: 3403 --- openwrt/scripts/ipkg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg index 199501855a..4d3ad85065 100755 --- a/openwrt/scripts/ipkg +++ b/openwrt/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 -- 2.30.2