| View previous topic :: View next topic |
| Author |
Message |
deadeyes Tux's lil' helper

Joined: 25 May 2007 Posts: 83
|
Posted: Thu Aug 30, 2007 9:13 pm Post subject: |
|
|
| same here:) |
|
| Back to top |
|
 |
Sno n00b

Joined: 07 Mar 2005 Posts: 29
|
|
| Back to top |
|
 |
GladRags n00b

Joined: 11 Jul 2006 Posts: 15
|
Posted: Thu Apr 29, 2010 2:51 pm Post subject: One more update |
|
|
Some packages do not create a SRC_URI file in /var/db and hence their files are not picked correctly. Here is another update to fix this.
| Code: |
i_dist() {
set_ifs
echo $dbpkg_files | \
while read db
do
for N_portage_dirs in ${!portage_dirs[@]}
do
for file in `cat ${portage_dirs[$N_portage_dirs]}/${db/-[0-9]*/}/Manifest 2>/dev/null | grep DIST | awk ' BEGIN { ORS=" " } { print $2 } '`
do
if [ -e ${portage_db}/${db}/SRC_URI ]
then
grep $file ${portage_db}/${db}/SRC_URI >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $db ${portage_db}/${db}/SRC_URI $file
fi
else
# Some packages do not create SRC_URI
if [ -e ${portage_db}/${db}/environment.bz2 ]
then
bunzip2 <${portage_db}/${db}/environment.bz2 | grep $file >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo $db ${portage_db}/${db}/environment.bz2 $file
fi
fi
fi
done
done
done | \
awk '{print $3}'
reset_ifs
}
|
|
|
| Back to top |
|
 |
loftwyr l33t


Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Thu Apr 29, 2010 3:09 pm Post subject: |
|
|
You maybe a little late with that update as all the links on the first page are dead.
Are you taking over maintenance? If so, where can we get the full package? _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
| Back to top |
|
 |
GladRags n00b

Joined: 11 Jul 2006 Posts: 15
|
Posted: Fri Apr 30, 2010 12:29 am Post subject: |
|
|
| loftwyr wrote: | You maybe a little late with that update as all the links on the first page are dead.
Are you taking over maintenance? If so, where can we get the full package? |
I am sorry to find that out. I haven't been maintaining this, I use it to clean files and I worked on it initially when I found it wasn't working and now again when I found out that it was deleting x11-driver files every time I ran it.
Anyways, here is a link to the current version that I have. http://www.mediafire.com/file/mymxzilkmjj/gentoo-yacleaner-0.6beta.sh |
|
| Back to top |
|
 |
el_Salmon Guru


Joined: 15 Dec 2003 Posts: 307 Location: Around 2.4GHz
|
Posted: Sun May 02, 2010 4:44 pm Post subject: |
|
|
| GladRags wrote: | | loftwyr wrote: | You maybe a little late with that update as all the links on the first page are dead.
Are you taking over maintenance? If so, where can we get the full package? |
I am sorry to find that out. I haven't been maintaining this, I use it to clean files and I worked on it initially when I found it wasn't working and now again when I found out that it was deleting x11-driver files every time I ran it.
Anyways, here is a link to the current version that I have. http://www.mediafire.com/file/mymxzilkmjj/gentoo-yacleaner-0.6beta.sh |
It would be a great idea to upload your version to Github. It's very easy to use. _________________ Gentoo Linux Proud User: Foxconn Nettop NT425 2GB RAM, 320 GB HDD (amd64) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|