Tiny Core Extensions > TCE Q&A Forum

tcz-uninstall.tce - does it have the -f option

<< < (3/9) > >>

Jason W:
Now that jwm is not the only window manager there will have to be some adjustment to tcz-uninstall and tce-uninstall.  As well as the bugs you mentioned, which those should be an easy fix.  Thanks for the feedback, a test case for which wm is running should enable proper menu updating.

Jason W:
I fixed the command line issues you mentioned, but the window manager menu handling is still in development for 2.x so there is no need to spend much time on it now when details may change.  I will work up a routine that will accommodate the various window managers after release.  Also, a --force option is not going to work as the tcz will not be unmounted by umount if it is still in use.  The extension must not be in use for tcz-uninstall to work, dictated by the umount command.  So tcz-uninstall is of little value in scripts, just as a user utility.

Thanks for reporting on these issues.

bigpcman:

--- Quote from: Jason W on May 22, 2009, 09:26:50 PM ---I fixed the command line issues you mentioned, but the window manager menu handling is still in development for 2.x so there is no need to spend much time on it now when details may change.

The extension must not be in use for tcz-uninstall to work, dictated by the umount command.  So tcz-uninstall is of little value in scripts, just as a user utility.

--- End quote ---

How about if the script kills the app process, does a umount on the tcz and then an uninstall of the tcz?

Jason W:
That is definitely doable, though potentially causing unexpected results of apps being killed and lost data.  Though the "--force" name does imply just that.  The tce-uninstall's version of --force does not kill any apps, just deletes their files so they could not be relaunched.  Killing apps may be a bit much, let me sleep on it. 

bigpcman:
Jason I just tried the kill, umount and uninstall for tightvnc. Do I have the umount right?


--- Code: ---tc@box:/$ sudo umount /tmp/tcloop/tightvnc
tc@box:/$ tcz-uninstall tightvnc
tightvnc is still in use and will not be uninstalled.

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version