diff options
author | 2016-11-30 23:53:02 +0100 | |
---|---|---|
committer | 2016-11-30 23:53:02 +0100 | |
commit | 19828c52e5b50de79739e2c206382be74e596847 (patch) | |
tree | 1a29e87054648ae49ebd36aaf68737e8dcef0be7 /INSTALL/setup.d/99_cleanup | |
parent | 5e50ec8d65705b41140d06ec13611f0b3108f7b9 (diff) |
group build files into folder INSTALL
Change-Id: Ib76d53f9ff0aed21f12ebd7aac66c1e877bea4a5
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'INSTALL/setup.d/99_cleanup')
-rw-r--r-- | INSTALL/setup.d/99_cleanup | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/INSTALL/setup.d/99_cleanup b/INSTALL/setup.d/99_cleanup new file mode 100644 index 0000000..3cea352 --- /dev/null +++ b/INSTALL/setup.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 + + + |