1 |
On Tuesday 12 November 2002 11:21, José Fonseca wrote: |
2 |
> All interested, please check the attached new version. It includes all |
3 |
> suggestions which were made so far. It requires >=sed-4.0, otherwise |
4 |
> replace "xargs sed -s" by "xargs -l sed". If there aren't further |
5 |
> corrections/suggestions then I'll create a bug in bugzilla for it. |
6 |
|
7 |
First of all great script. I was thinking about such a script a long time but |
8 |
didn't find the time to do it myself. (And if i did it, it wouldn't be such a |
9 |
good scipt :-) |
10 |
|
11 |
Feedback / Corrections: |
12 |
the first run results in the following |
13 |
|
14 |
cloudcity root # distfiles-clean -p |
15 |
mktemp: cannot make temp file /tmp//usr/local/sbin/distfiles-clean.E63Npk: No |
16 |
such file or directory |
17 |
/usr/local/sbin/distfiles-clean: $TMPFILE: ambiguous redirect |
18 |
sed: can't read /var/cache/edb/dep/sys-kernel/linux-headers-2.4.19: No such |
19 |
file or directory |
20 |
xargs: sed: terminated by signal 13 |
21 |
rm: too few arguments |
22 |
Try `rm --help' for more information. |
23 |
|
24 |
I think there is an error in the script in line 53. I changed /tmp/$0.XXXXX |
25 |
into /tmp/$PROGRAM.XXXXX and then the result looks like this: |
26 |
|
27 |
cloudcity sbin # distfiles-clean -p |
28 |
sed: can't read /var/cache/edb/dep/sys-kernel/linux-headers-2.4.19: No such |
29 |
file or directory |
30 |
alsa-lib-0.5.10b.tar.bz2 |
31 |
gaim-0.59.3.tar.bz2 |
32 |
j2sdk-1_4_1_01-linux-i586.bin * |
33 |
kde-i18n-3.0.4.tar.bz2 * |
34 |
kde-i18n-gentoo.patch * |
35 |
rp8_linux20_libc6_i386_cs2_rpm * |
36 |
|
37 |
I marked the packets which are installed with an *. So removing of this would |
38 |
be to much :) |
39 |
|
40 |
Thanks anyway for the script. Keep up the good work. |
41 |
|
42 |
Nils Ohlmeier |
43 |
|
44 |
-- |
45 |
gentoo-dev@g.o mailing list |