add another force flag (--force-overwrite) to overwrite config files
authorNils Kneuper <crazy-ivanovic@gmx.net>
Thu, 13 Oct 2011 11:57:02 +0000 (13:57 +0200)
committerNils Kneuper <crazy-ivanovic@gmx.net>
Thu, 13 Oct 2011 11:57:02 +0000 (13:57 +0200)
that opkg thinks belong to other packages

hotfix_updater/hotfix/updater.sh

index ac9f54c..987f0de 100755 (executable)
@@ -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