mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-06-12 21:37:36 +02:00
Initial commit, based on .tar.gz file as provided by 3DR , see SOURCE file
This commit is contained in:
24
sololink/flightcode/video/cleanLibs.sh
Executable file
24
sololink/flightcode/video/cleanLibs.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
RWFS=/mnt/rootfs.rw
|
||||
LIBDIR=/usr/lib
|
||||
|
||||
if [ -e $RWFS/$LIBDIR/sndast* ] ||
|
||||
[ -e $RWFS/$LIBDIR/libvpu* ] ||
|
||||
[ -e $RWFS/$LIBDIR/libfsl* ] ||
|
||||
[ -e $RWFS/$LIBDIR/gstrea* ] ; then
|
||||
|
||||
#Remove all the sculpture libraries
|
||||
rm -rf $RWFS/$LIBDIR/sndast
|
||||
rm -rf $RWFS/$LIBDIR/libvpu*
|
||||
rm -rf $RWFS/$LIBDIR/libfslvpu*
|
||||
rm -rf $RWFS/$LIBDIR/gstreamer*
|
||||
rm -rf $RWFS/$LIBDIR/.*libfslvpu*
|
||||
|
||||
#Remove the gstreamer registry
|
||||
rm -f ~/.gstreamer-0.10/registry.arm.bin
|
||||
|
||||
#Rebuild the gstreamer library
|
||||
gst-inspect > /dev/null 2>&1
|
||||
|
||||
fi
|
Reference in New Issue
Block a user