3 Jun
2015
3 Jun
'15
8:23 a.m.
Hi, * Florian Bruhin <me@the-compiler.org> [2015-06-03 09:28:44 +0200]:
I'd like to correct this situation in an update, but that update will of course overwrite /usr/share/webapps/foo with the new version (i.e. the new symlink) and nuke the user's current config.
Thanks to agregory's help in IRC I figured out a way which swaps the files using pre_upgrade() in the install script: https://github.com/The-Compiler/pkgbuild/commit/fe33593decc2879bdfa6a6996333... Does this look good? It seems to work fine from what I tested. Florian -- http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/