[arch-dev-public] keep config file on system when upgrading to package without the config file

Ronald van Haren pressh at gmail.com
Wed Mar 17 11:27:10 CET 2010


Hey guys,

Yesterday I upgraded grub2 and changed some config file handling.
Previously an example file /boot/grub/grub.cfg was installed by the
PKGBUILD, which should not happen anymore as it can be created by some
included config script autmotically (there are some patches on the bug
tracker posted today which should allow for an even better streamlined
autogenerated config). Obviously we can only run this script
post-install or let the user take care of it.

So the new package doesn't have the config file anymore and is now
removing the old file (it seems it doesn't matter if the file is in
the backup array or not). Any way around this so I can quickly fix
this and people won't come in the grub shell upon next reboot ?

Ronald


More information about the arch-dev-public mailing list