1b885b3d24
There's much reason for reuse instead of duplication among the different stage2-based subprofiles. In particular, the rather monolithic driver cleanup script of the ancient is better done in several clear pieces with the final depmod run. Scripts dropping apt/rpm databases will dump pkglist first. A script purging /boot/* will honour live-install if present. Minor inno^Wfixups all over the map too.
6 lines
119 B
Bash
Executable File
6 lines
119 B
Bash
Executable File
#!/bin/sh
|
|
# remove all docs
|
|
|
|
rpmquery -ad |grep ^/ |xargs -r rm -f --
|
|
rm -rf /usr/share/{doc,man,info,license,gfxboot}
|