You are not logged in.

#1 2006-04-20 16:54:25

necui
Member
Registered: 2006-04-13
Posts: 4
Website

Pacman touches old pacsave files.

Imagine this:

# pacman -S package
# echo "test" >> /etc/package/package.conf

Where /etc/package/package.conf is to be backuped. Now:

# pacman -R package

OK, pacman saved the changed config file to /etc/package/package.conf.pacsave.  So now:

# pacman -S package
# pacman -R package

And unfortunately pacman overwrites the old pacsave file (this with "test" added at the end).
Some days ago I've lost my config file like this...  Well, I have a backup, but pacman should not touch this pacsave file.

I propose to tag pacsaves with sth, for example a number:
.pacsave1, .pacsave2.

Offline

Board footer

Powered by FluxBB