NotQuiteSane Guru
Joined: 30 Jan 2005 Posts: 488 Location: Klamath Falls, Jefferson, USA, North America, Midgarth
|
Posted: Mon May 31, 2010 10:52 pm Post subject: Layman 1.3.x configuration files tip |
|
|
If you use layman, you've probably already seen this:
Code: | Layman has been using /usr/local/portage/layman to store
overlay checkouts from version 1.2.3 on. As that path
was violating the concept of keeping portage away from
/usr/local the default of this storage location moves to
/var/lib/layman
from version 1.3.0 on. If you have never touched the file
/etc/layman/layman.cfg manually before, you may be tempted to let
tools like etc-update or dispatch-conf blindly accept this new version
of layman.cfg. |
I dunno about you people, but between all of my computers, that would mean making about twelve dozen changes, and several minutes worth of typing.
Fortunately, i believe laziness drives progress, so here is a solution for everyone:
open first config file in vi (or clone)
enter command Code: | :%s/\/usr\/local\/portage/\/var\/lib/g |
enter command
repeat until all configuration files are updated
move to next machine and repeat
repeat untill all machines are updated
simple and easy.
NQS _________________ These opinions are mine, mine I say! Piss off and get your own.
As I see it -- An irregular blog, Improved with new location
To delete French language packs from system use 'sudo rm -fr /' |
|