wok diff get-teamviewer/stuff/get-teamviewer @ rev 15700

wbar2:Fixconfig (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 22 15:10:14 2013 +0100 (2013-12-22)
parents b4e5ae364192
children d11fd3e3b9d3
line diff
     1.1 --- a/get-teamviewer/stuff/get-teamviewer	Thu Jan 12 13:09:32 2012 +0100
     1.2 +++ b/get-teamviewer/stuff/get-teamviewer	Sun Dec 22 15:10:14 2013 +0100
     1.3 @@ -48,11 +48,12 @@
     1.4  mv $PACKAGE $PACKAGE-$VERSION
     1.5  
     1.6  cd $PACKAGE-$VERSION/fs
     1.7 -ln -s $(cd usr/bin ; ls $PACKAGE*) usr/bin/$PACKAGE
     1.8 +ln -s $(cd usr/bin ; ls $PACKAGE*) usr/bin/$PACKAGE 2> /dev/null || true
     1.9  mkdir -p usr/share/applications
    1.10  sed "s|EXEC|/usr/bin/$PACKAGE|g;s!ICON!/$(find opt | grep $PACKAGE.png)!g" \
    1.11 -	< $(find opt | grep desktop.template) \
    1.12 +	< $(find opt | grep -E '(desktop.template|\.desktop$)') \
    1.13  	> usr/share/applications/$PACKAGE.desktop
    1.14 +sed -i 's/readlink -e/readlink $0 || echo /' $(find opt | grep /$PACKAGE$)
    1.15  cd ../..
    1.16  
    1.17  cat > $PACKAGE-$VERSION/receipt <<EOT