View Single Post
Posts: 244 | Thanked: 354 times | Joined on Jul 2010 @ Scotland
#2826
Disclaimer: Crap Solutions R US

Code:
MOUNTDEV=/dev/mmcblk0p3
MOUNTPOINT=/.debian

mount ${MOUNTDEV} ${MOUNTPOUNT}

URI=http://packages.debian.org/wheezy/all/

for PACKAGE in wicd-daemon wicd-gtk wicd-curses wicd-cli wicd-client
do
    for FILE in $(wget -qO- ${URI}/${PACKAGE}/filelist | grep ^/)
    do
        rm -f ${MOUNTPOINT}${FILE}
    done
done
This might work better ...

Code:
find /.debian -type f -name '*wicd*' -delete

Last edited by gregoranderson; 2012-08-20 at 18:35.
 

The Following 2 Users Say Thank You to gregoranderson For This Useful Post: