Package Question - How to remove directories on uninstall? March 15, 2014, 03:26:49 pm If I say want to create a subdirectory under $themedir/css the package manager happily does that if I just put the desired install location to $themedir/css/newdirHowever, on uninstall it does not remove these directories after they're empty. Is there an equivalent to remove-file for a directory?
Re: Package Question - How to remove directories on uninstall? Reply #1 – March 15, 2014, 03:33:03 pm You should be able to use the tag Code: [Select]remove-dir in package-info.Something like:Code: [Select]<remove-dir name="$themedir/css/newdir" />unless it's broken...
Re: Package Question - How to remove directories on uninstall? Reply #2 – March 15, 2014, 03:36:39 pm Not broken I just didn't know the command and guessed remove-directory instead of remove-dir. Thanks for the quick reply.
Re: Package Question - How to remove directories on uninstall? Reply #3 – March 15, 2014, 04:07:42 pm emanuele takes note there is a lot to document...
Re: Package Question - How to remove directories on uninstall? Reply #4 – March 15, 2014, 04:23:10 pm Heh. Yeah documentation is definitely not the exciting part of things.