Here is my script for auto-purging of removed packages (the script deletes remaining configuration files of package) in Ubuntu:
#!/bin/sh for i in `dpkg -l | grep ^rc | cut -f 3 -d ' '` do dpkg -P $i; done
Wojciech Jamrozy blogBlog about computer science, programming and linux
|
Here is my script for auto-purging of removed packages (the script deletes remaining configuration files of package) in Ubuntu:
#!/bin/sh for i in `dpkg -l | grep ^rc | cut -f 3 -d ' '` do dpkg -P $i; done