You are not logged in.
Pages: 1
hi, guys
# pacman -S xf86-input-synaptics
it install a /etc/X11/xorg.conf.d/10-synaptics.conf
but when `pacman -R xf86-input-synaptics`, it remove the '/etc/X11/xorg.conf.d/10-synaptics.conf` file WITHOUT a backup. so how can I keep the x11 configuration file when remove a package?
thanks
Linux, Vim, Ruby, Javascript and Go.
Offline
The PKGBUILD for xf86-input-synaptics contains the necessary line:
backup=('etc/X11/xorg.conf.d/10-synaptics.conf')
If you use a generic 10-synaptics.conf, you can easily grab it from /var/abs/extra/xf86-input-synaptics. It may be that the file is removed because its content hasn't been changed. If you modified the file, keep a copy in a safe place, just in case.
Last edited by bohoomil (2011-11-27 02:27:23)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Offline
bohoomil wrote:It may be that the file is removed because its content hasn't been changed.
This. The only reasons pacman will remove a config file are:
1) the file hasn't changed
2) the package was removed with the -n or --nosave flag.
thanks, my file hasn't changed, so it was removed. After I changed it, it was saved as .pacsave.
Linux, Vim, Ruby, Javascript and Go.
Offline
Pages: 1