Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Layman 1.3.x configuration files tip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 471
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Mon May 31, 2010 10:52 pm    Post subject: Layman 1.3.x configuration files tip Reply with quote

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
    Code:
    :wq

    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 /'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum