At Wed, 08 Jan 2014 08:49:34 -0300, Nicolás Reynolds wrote: > > At Tue, 07 Jan 2014 22:59:52 -0500, > > Luke T. Shumaker wrote: > > > I'm moving 20140106.1 to [libre-testing], and re-publishing 20131112 > > > on [libre], so a manual downgrade will be necessary. > > > > To follow up on this--you probably want to run: > > > > pacman -Rs libretools > > pacman -Sy libretools > > > > The simpler `pacman -S libretools` will not make the correct edits > > from the pre/post install/upgrade/remove stripts to makepkg.conf. > > should a package modify another package's configuration files?
It's less common now, because .d directories have become common. For librefetch to work, it must be added to makepkg.conf; people wanted it to "just work", so I added a post_install/pre_remove script to += it into DLAGENTS, by just appending a line to the end. With 20140106 it became a little more complicated, as it now: - commented out the existing https:: entry - also adds a comment explaining that the following line was added by libretools - checks for the old version of the edits I tested thoroughly that it correctly installed, uninstalled, and upgraded old->new and new->new. What the script doesn't allow for is downgrading. I don't think that can be done in any reasonable way--unless pacman actually does the remove scripts, then the install scripts. It might do that. Happy hacking, ~ Luke Shumaker _______________________________________________ Dev mailing list [email protected] https://lists.parabolagnulinux.org/mailman/listinfo/dev
