1 |
Gregg <gregg@××.am> writes: |
2 |
|
3 |
> I have mentioned this a couple times to usually no response. I feel that |
4 |
> it is an important feature , I was hoping to get some sort of response to |
5 |
> this as to how it should be done, or a response saying "we are already |
6 |
> working on that". Either way is fine by me :) |
7 |
> |
8 |
|
9 |
#!/bin/bash |
10 |
|
11 |
history=/tmp/package.history |
12 |
|
13 |
available_packages() { |
14 |
( qpkg -I -nc && qpkg -U -nc ) |uniq |sort |
15 |
} |
16 |
|
17 |
if [ -f ${history} ] |
18 |
then |
19 |
available_packages >${history}.new |
20 |
diff ${history} ${history}.new |
21 |
mv -f ${history}.new ${history} |
22 |
else |
23 |
echo "First time run. Building history..." |
24 |
available_packages >${history} |
25 |
fi |
26 |
|
27 |
-- |
28 |
Matthew Kennedy |
29 |
Gentoo Linux Developer |
30 |
Bugs go to http://bugs.gentoo.org! |
31 |
|
32 |
Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6C25B0A2 |
33 |
Finger Print: 0C61 0CBC C669 5F26 8DBF 006D FBAB 30EA 6C25 B0A2 |