1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh cd binary/boot/filesystem.dir rm var/lib/dpkg/info/*-dbg*.list for pkg in var/lib/dpkg/info/*.list do LIST=`cat $pkg | sed -e 's+^\/++g'` for file in $LIST do rm $file 2>/dev/null done done rm `find . -type l` usr/share/info/dir