Here are the steps I took:
- Create RPM
- Install rpm via "rpm -i" (this creates /opt/foo and unpacks files into it)
- Modify some files under /opt/foo/ (rename, append data, etc.)
- Uninstall rpm via "rpm -e"
And the observed behavior:
All files under /opt/foo are removed except for the ones that were modified. /opt/foo remains as well.
How can I force delete /opt/foo and all of its content even if it was modified after the initial installation?
Thanks a bunch!