Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] /etc/portage
Date: Fri, 24 Nov 2006 10:56:56
Message-Id: 20061124114844.73e16b0d@lx-arnau.pic.es
1 Hi,
2
3 I have recently updated my laptop and found some new files
4 under /etc/portage:
5
6 # ls -lsa
7 total 36
8 [...]
9 4 drwxr-xr-x 2 root root 4096 nov 20 22:42 bin
10 4 drwxr-xr-x 2 root root 4096 nov 21 11:14 postsync.d
11 4 drwxrwsr-x 2 root portage 4096 oct 27 2004 sets
12
13 I'm comparing them with same dir in my work pc and those files/dires
14 are not present... The sync difference between them is about a week...
15
16 Anyone could explain me what are this files for?
17
18 (contents of each dir/file):
19 # cat bin/post_sync
20 #!/bin/sh
21 # Copyright 2006-2006 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 if [ -d /etc/portage/postsync.d/ ]; then
25 for f in /etc/portage/postsync.d/* ; do
26 if [ -x ${f} ] ; then
27 ${f}
28 fi
29 done
30 else
31 :
32 fi
33
34 # cat postsync.d/q-reinitialize
35 [ -x /usr/bin/q ] && /usr/bin/q -r
36
37 # cat postsync.d/q-reinitialize
38 [ -x /usr/bin/q ] && /usr/bin/q -r
39
40 Cheers!
41 Arnau
42
43 --
44 Arnau Bria
45 http://blog.emergetux.net
46 Wiggum: Dispara a las ruedas Lou.
47 Lou: eee, es un tanque jefe.
48 Wiggum: Me tienes hartito con todas tus excusas.
49 --
50 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] /etc/portage Alan McKinnon <alan@××××××××××××××××.za>
Re: [gentoo-user] /etc/portage "Bo Ørsted Andresen" <bo.andresen@××××.dk>