1 2 3 4 5 6 7
#!/bin/bash for i in konq-plugins kdebase do if ( pkginfo -l $i > /dev/null 2>&1 ) ; then pkgrm $i fi done