From 769c84f9f3ed0ea566793a9b4bb447a43ebf4f50 Mon Sep 17 00:00:00 2001 From: Nils Kneuper Date: Thu, 13 Oct 2011 13:57:02 +0200 Subject: [PATCH] add another force flag (--force-overwrite) to overwrite config files that opkg thinks belong to other packages --- hotfix_updater/hotfix/updater.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hotfix_updater/hotfix/updater.sh b/hotfix_updater/hotfix/updater.sh index ac9f54c..987f0de 100755 --- a/hotfix_updater/hotfix/updater.sh +++ b/hotfix_updater/hotfix/updater.sh @@ -117,7 +117,7 @@ install_all_ipk_in_folder() if [ -n "$PACKAGE_LIST" ] then # actually install the current block of packages - opkg install --nodeps --force-depends $PACKAGE_LIST >> ./opkg.log + opkg install --nodeps --force-depends --force-overwrite $PACKAGE_LIST >> ./opkg.log # after installing, reset PACKAGE_LIST to empty PACKAGE_LIST="" fi @@ -134,7 +134,7 @@ install_all_ipk_in_folder() done # there might still be some packages left to work on, do so now: - opkg install --nodeps --force-depends $PACKAGE_LIST >> ./opkg.log + opkg install --nodeps --force-depends --force-overwrite $PACKAGE_LIST >> ./opkg.log } @@ -351,7 +351,7 @@ then then for my_package in packages/other/pandora-skel_*ipk do - opkg install --force-overwrite $my_package >> ./opkg.log + opkg install --force-overwrite --force-overwrite $my_package >> ./opkg.log done fi -- 2.39.5