wok rev 5074

get-flash-plugin: re-export firefox libs if not found
author Rohit Joshi <jozee@slitaz.org>
date Fri Mar 12 11:43:55 2010 +0000 (2010-03-12)
parents 89fb9bf81636
children e8a9cb9ba199
files get-flash-plugin/stuff/get-flash-plugin
line diff
     1.1 --- a/get-flash-plugin/stuff/get-flash-plugin	Fri Mar 12 17:43:19 2010 +0100
     1.2 +++ b/get-flash-plugin/stuff/get-flash-plugin	Fri Mar 12 11:43:55 2010 +0000
     1.3 @@ -67,6 +67,13 @@
     1.4  mkdir -p $dir
     1.5  mv libflashplayer.so $dir
     1.6  
     1.7 +# Sanity Check: Reexport firefox libraries if they don't exist
     1.8 +dir=flash-plugin-$VERSION/fs/usr/lib
     1.9 +mkdir -p $dir
    1.10 +for i in /usr/lib/firefox*/*.so ; do
    1.11 +  	[ -f $i ] && [ -z "`ls $i`" ] && ln -s $i $dir	
    1.12 +done
    1.13 +
    1.14  # Create pseudo package
    1.15  cat > flash-plugin-$VERSION/receipt <<EOT
    1.16  PACKAGE="flash-plugin"