mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
commit
0a618a5e07
@ -325,31 +325,30 @@ if [ ! -f $STAMP ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TARGET" = "target" -o "$TARGET" = "init" ]; then
|
if [ "$TARGET" = "target" -o "$TARGET" = "init" ]; then
|
||||||
if [ -d $INSTALL ] ; then
|
if [ -d $INSTALL ] ; then
|
||||||
for i in $INSTALL $INSTALL/usr; do
|
rm -rf $INSTALL/{usr/,}include
|
||||||
rm -rf $i/include
|
rm -rf $INSTALL/{usr/,}lib/cmake
|
||||||
rm -rf $i/lib/cmake
|
rm -rf $INSTALL/{usr/,}lib/pkgconfig
|
||||||
rm -rf $i/lib/pkgconfig
|
rm -rf $INSTALL/{usr/,}man
|
||||||
rm -rf $i/man
|
rm -rf $INSTALL/{usr/,}share/aclocal
|
||||||
rm -rf $i/share/aclocal
|
rm -rf $INSTALL/{usr/,}share/bash-completion
|
||||||
rm -rf $i/share/bash-completion
|
rm -rf $INSTALL/{usr/,}share/doc
|
||||||
rm -rf $i/share/doc
|
rm -rf $INSTALL/{usr/,}share/gtk-doc
|
||||||
rm -rf $i/share/gtk-doc
|
rm -rf $INSTALL/{usr/,}share/info
|
||||||
rm -rf $i/share/info
|
rm -rf $INSTALL/{usr/,}share/locale
|
||||||
rm -rf $i/share/locale
|
rm -rf $INSTALL/{usr/,}share/man
|
||||||
rm -rf $i/share/man
|
rm -rf $INSTALL/{usr/,}share/pkgconfig
|
||||||
rm -rf $i/share/pkgconfig
|
rm -rf $INSTALL/{usr/,}share/zsh
|
||||||
find $i -name "*.la" -exec rm -f "{}" ";" 2>/dev/null || true
|
rm -rf $INSTALL/{usr/,}var
|
||||||
find $i -name "*.a" -exec rm -f "{}" ";" 2>/dev/null || true
|
find $INSTALL \( -name "*.orig" \
|
||||||
find $i -name "*.so*T" -exec rm -f "{}" ";" 2>/dev/null || true
|
-o -name "*.rej" \
|
||||||
# patch backups nonsense
|
-o -name "*.a" \
|
||||||
find $i -name "*.orig" -exec rm -f "{}" ";" 2>/dev/null || true
|
-o -name "*.la" \
|
||||||
# kodi / addons nonsense
|
-o -name "*.o" \
|
||||||
find $i -name "addon.xml.in" -exec rm -f "{}" ";" 2>/dev/null || true
|
-o -name "*.in" \
|
||||||
find $i -name "Makefile.in" -exec rm -f "{}" ";" 2>/dev/null || true
|
-o -name ".git*" \) \
|
||||||
done
|
-exec rm -f {} \; 2>/dev/null || :
|
||||||
|
find $INSTALL -type d -exec rmdir -p {} \; 2>/dev/null || :
|
||||||
find $INSTALL -type d -exec rmdir -p "{}" ";" 2>/dev/null || true
|
|
||||||
|
|
||||||
if [ ! "$DEBUG" = yes ]; then
|
if [ ! "$DEBUG" = yes ]; then
|
||||||
$STRIP `find $INSTALL \
|
$STRIP `find $INSTALL \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user