Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: jls on September 06, 2010, 12:51:16 AM
-
hi
I'm suggesting to modify the tce-update script to support xupgrade.lst where the user can elencate the extensions that he doesn't want to be upgraded
-
hi
I'm suggesting to modify the tce-update script to support xupgrade.lst where the user can elencate the extensions that he don't want to be upgraded
Good, I like it. One more asking for.
-
+1 i've had situations where this would have been very handy. ;)
-
instead like in most distros, there can be a list with check boxes so you can select which extension to update, also a check box for "select all"
-
Appsaudit "Updates"- > "Check for Updates" already allows for user selective updates while tce-update does all.
So this request must be for the batch command line. Seems reasonable, so I will proceed for 3.2.
Be aware that such list must be used judiciously, as you are possibly preventing your system from being consistent.
Present workarounds are:
1. Remove .md5.txt for those extensions that you do not want updated.
2. Rename your extension, e.g., with a prefix so as to be eligible for an update.
-
What do you do about installing applications that depend on the not-to-be-updated application?
-
Perhaps the effort is not worth the result; that being possibly an inconsistent system prone to failures.
For those who know precisely what they are doing can use one of two workarounds. Typically for "not depended upon by any" extensions.
-
I'm already using a modified tce-update version, which doesn't differ too much from the original:
after line 29 I inserted
if [ $(grep "^$TARGET" "${TCEDIR}"/xupgrade.lst) ]; then
echo "${YELLOW}$TARGET${NORMAL} won't be upgraded because listed in xupgrade.lst"
else
and of course a "fi" at the end of the function