Originally Posted by
anon_private
Ps. If I don't meld what are the consequences?
Nothing right away but in time though could get very messy.
Time consuming way and not pretty.
Code:
find /etc -type f -name "*.pacnew"
and just go through them one at a time then:
Code:
kdesu meld /etc/config /etc/config.pacnew
Gosh they make things complicated...just plain Arch and I don't see such things
Maybe this>>> fits into my knowledge of bash. Credit to Alan from Arch Forums.
Code:
#!/bin/bash
# etc-update - merge *.pacnew files with original configurations with meld
pacnew=$(find /etc -type f -name "*.pacnew")
for i in $pacnew
do
kdesu meld $(basename $i .pacmew) $i &
wait
done
Call it automeld or something like that so remember.
Also In yaourt-git, you can find a new feature for automerging of .pacnew files. Just add "AutoSaveBackupFile yes" in /etc/yaourtrc to use it later with yaourt -C.
Note: auto-merge will only work next time. When a new .pacnew arrives.
Bookmarks