diff options
Diffstat (limited to 'INSTALL/common.d/99_cleanup')
-rw-r--r-- | INSTALL/common.d/99_cleanup | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/INSTALL/common.d/99_cleanup b/INSTALL/common.d/99_cleanup new file mode 100644 index 0000000..3cea352 --- /dev/null +++ b/INSTALL/common.d/99_cleanup @@ -0,0 +1,18 @@ +#!/bin/bash + +apt-get autoremove -y + +# remove big useless files +rm -rf /usr/lib/x86_64-linux-gnu/dri/*.so +rm -rf /usr/lib/perl/5.*/auto/Encode/JP/JP.so +rm -rf /usr/lib/perl/5.*/auto/Encode/KR/KR.so +rm -rf /usr/lib/perl/5.*/auto/Encode/CN/CN.so +rm -rf /usr/lib/perl/5.*/auto/Encode/TW/TW.so + +# keep doc ? +#rm -rf /usr/share/doc +#rm -rf /usr/share/man +#rm -rf /usr/share/locale + + + |