live: do not cleanup docs
If this is really necessary, then this should not be done by default.
This commit is contained in:
parent
d4b5bb4f52
commit
40f07c008d
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
# remove all docs
|
||||
|
||||
# don't cripple the image to be copied over
|
||||
[ -n "$GLOBAL_LIVE_NO_CLEANUP_DOCS" ] || \
|
||||
[ -n "$GLOBAL_LIVE_INSTALL"] || \
|
||||
[ -x /usr/sbin/live-install ] || \
|
||||
[ -x /usr/sbin/livecd-install ] && exit 0
|
||||
|
||||
rpmquery -ad |grep ^/ |xargs -r rm -f --
|
||||
rm -rf /usr/share/{doc,man,info,license,gfxboot}
|
Loading…
x
Reference in New Issue
Block a user