You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
286 B
11 lines
286 B
3 years ago
|
#!/bin/sh
|
||
|
# remove all docs
|
||
|
|
||
|
# don't cripple the image to be copied over
|
||
|
[ -n "$GLOBAL_LIVE_NO_CLEANUP_DOCS" ] || \
|
||
|
[ -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}
|