[aur-general] PKGBUILD 'backup' function won't work

Daniel Lin dlin.tw at gmail.com
Mon Feb 21 09:13:04 EST 2011


Thank you, after reading that section. I understood why there is no *.pacnew
or *.pacorig.
But, why pacman remove my config file which I've modified  when I remove the
package?(I assume it will keep a *.pacsave)
I'm sure I don't add the --nosave option.

2011/2/21 Ionuț Bîru <ibiru at archlinux.org>

> On 02/21/2011 06:54 AM, Daniel Lin wrote:
>
>> I  made a grub4dos-svn PKGBUILD.
>> I want /etc/grub4dos.conf and /boot/grub/menu.lst be proper backup.
>> But, I found it won't work.
>>
>> If my menu.lst exist, it won't appear menu.lst.pacnew.
>> If I remove my package.  It wont keep menu.lst.orig
>>
>> I wrote the following line on PKGBUILD.
>> backup=(etc/grub4dos.conf boot/grub/menu.lst)
>>
>
>
> i suggest to read man pacman, HANDLING CONFIG FILES section.
>
> --
> Ionuț
>


More information about the aur-general mailing list