From: Nils Kneuper Date: Thu, 13 Oct 2011 11:57:02 +0000 (+0200) Subject: add another force flag (--force-overwrite) to overwrite config files X-Git-Tag: sz_beta3~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=769c84f9f3ed0ea566793a9b4bb447a43ebf4f50;p=pandora-misc.git add another force flag (--force-overwrite) to overwrite config files that opkg thinks belong to other packages --- 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