1 |
Hello list, |
2 |
|
3 |
I have a small script /etc/portage/repo.postsync.d/q-reinit which is causing |
4 |
emerge --sync to complain. I don't know where it's come from, but its date |
5 |
stamp is 15 September. |
6 |
|
7 |
This is the script: |
8 |
|
9 |
#!/bin/sh |
10 |
repository_name=$1 |
11 |
repository_path=$3 |
12 |
if [ -n "${repository_name}" ]; then |
13 |
q ${PORTAGE_QUIET:+-q} --reinitialize="${repository_path}" |
14 |
fi |
15 |
: |
16 |
|
17 |
It causes this error: |
18 |
|
19 |
# /usr/bin/emerge --sync |
20 |
>>> Syncing repository 'gentoo' into '/var/cache/repos/portage'... |
21 |
/usr/bin/git fetch origin |
22 |
Already up to date. |
23 |
=== Sync completed for gentoo |
24 |
q: unrecognized option '--reinitialize=/var/cache/repos/portage' |
25 |
usage: q <applet> <args> : invoke a portage utility applet |
26 |
[...] |
27 |
|
28 |
Can anyone shed some light on this? |
29 |
|
30 |
-- |
31 |
Regards, |
32 |
Peter. |