Hi, * Florian Bruhin <[email protected]> [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/fe33593decc2879bdfa6a6996333d4338a5dd3b9 Does this look good? It seems to work fine from what I tested. Florian -- http://www.the-compiler.org | [email protected] (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/
pgpK19f9CgUOg.pgp
Description: PGP signature
