public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] Moving layman
@ 2010-03-05 12:46 basile
  2010-03-05 13:22 ` Cyprien Nicolas
  0 siblings, 1 reply; 2+ messages in thread
From: basile @ 2010-03-05 12:46 UTC (permalink / raw
  To: gentoo-hardened

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

Hi everyone,

I had a lot of systems on which to move layman.  Since many of us use
the overlay, I figured I'd share my little script I used.  Its trivial
but it seems to be all one needs.


#!/bin/bash

mv /usr/local/portage/layman/ /var/lib/
sed -i 's:/usr/local/portage:/var/lib:'  /var/lib/layman/make.conf
sed -i 's:/usr/local/portage:/var/lib:' /etc/make.conf

-- 

Anthony G. Basile, Ph.D.
Chair of Information Technology
D'Youville College
Buffalo, NY 14201
USA

(716) 829-8197




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-hardened] Moving layman
  2010-03-05 12:46 [gentoo-hardened] Moving layman basile
@ 2010-03-05 13:22 ` Cyprien Nicolas
  0 siblings, 0 replies; 2+ messages in thread
From: Cyprien Nicolas @ 2010-03-05 13:22 UTC (permalink / raw
  To: gentoo-hardened; +Cc: basile

On 03/05/2010 01:46 PM, basile wrote:
> Hi everyone,
> 
> I had a lot of systems on which to move layman.  Since many of us use
> the overlay, I figured I'd share my little script I used.  Its trivial
> but it seems to be all one needs.
> 
> 
> #!/bin/bash
> 
> mv /usr/local/portage/layman/ /var/lib/
> sed -i 's:/usr/local/portage:/var/lib:'  /var/lib/layman/make.conf
> sed -i 's:/usr/local/portage:/var/lib:' /etc/make.conf

I would add the following

sed -i 's:/usr/local/portage:/var/lib:' /etc/layman.cfg

In the case you don't have the /etc update.


-- 
,Cyprien



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-05 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 12:46 [gentoo-hardened] Moving layman basile
2010-03-05 13:22 ` Cyprien Nicolas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox