summaryrefslogtreecommitdiff
path: root/openwrt/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/scripts')
-rwxr-xr-xopenwrt/scripts/ipkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg
index 6cd1cb440a..7ceaeff69c 100755
--- a/openwrt/scripts/ipkg
+++ b/openwrt/scripts/ipkg
@@ -787,7 +787,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