You are not logged in.
with the recent vc -> tty change going on in [testing], dealing with your *.pacnew files (especially inittab) may be required to prevent an unbootable system, just see skottish's warning (note: i say /may/ be required, but it's /always/ recommended)
thanks to this little script i made, merging the changes was a quick and simple task.
this script does need to be run as root so please review to code before blindly executing anything.
pacnews is designed to streamline dealing with .pacnew files.
pacnews must be run as root, and will optionally accept a
directory on which to act, otherwise /etc will be searched by
default.all *.pacnew files found will be presented to you one by one;
you'll have the option of viewing/editing your current config
file side by side with the pacnew file through vimdiff, then
you can remove the pacnew file, replace you're existing
config file with the .pacnew file, or do nothing.answering anything other than "y" to the options will
eventually bring you back without changing your system in any
way.
familiarity with vim[diff] is required.
the code can be downloaded from here
/edit: typo
Last edited by brisbin33 (2009-07-18 20:11:15)
//github/
Offline
Nice, thanks brisbin! I will give it a try next time I have updates that require it.
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
Bookmarking this, this seems a lot easier than having to do it manually... Then again, although i'm familiar with vim vimdiff is unknown territory .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
What's the difference between this and pacdiff?
Offline
no idea, never heard of pacdiff.
It's in the pacman-contrib package, I believe it does exactly as you describe. Oh well, the more the merrier.
Offline
also
yaourt -C
does the same this as your script
Offline
also
yaourt -C
does the same this as your script
but yaourt slowly breaks apart on my system (by now, not even the variables are expanded anymore, which is infinitely odd...
"Do you really want to install $PKG (Y/n)"
)
cheers
Barde
Offline