mkimage-profiles/sub.in/rescue/image-scripts.d/99cleanupdb
Michael Shigorin 0e57149de9 initial rescue image
NB: this implementation is awfully cut-n-paste one,
there are lots of common code with install2
which are subject to careful surgery
2011-11-04 16:15:30 +02:00

7 lines
106 B
Plaintext
Executable File

# remove rpm database
rm -rf /var/lib/rpm/*
# remove apt data files
rm -rf /var/cache/apt /var/lib*/apt