get-scripts rev 80 tip

libreoffice: fix menu entries (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 09 11:40:00 2019 +0200 (2019-06-09)
parents 918e81123812
children
files libreoffice
line diff
     1.1 --- a/libreoffice	Sun Jun 09 11:04:15 2019 +0200
     1.2 +++ b/libreoffice	Sun Jun 09 11:40:00 2019 +0200
     1.3 @@ -137,9 +137,9 @@
     1.4  	ln -s /usr/lib/libreoffice*/share/xdg/calc.desktop          libreoffice-calc.desktop
     1.5  	ln -s /usr/lib/libreoffice*/share/xdg/math.desktop          libreoffice-math.desktop
     1.6  	ln -s /usr/lib/libreoffice*/share/xdg/draw.desktop          libreoffice-draw.desktop
     1.7 -	ln -s /usr/lib/libreoffice*/share/xdg/printeradmin.desktop libreoffice-printeradmin.desktop
     1.8 +	ln -s /usr/lib/libreoffice*/share/xdg/printeradmin.desktop  libreoffice-printeradmin.desktop
     1.9  	chmod +x \$1/usr/lib/libreoffice*/share/xdg/*.desktop
    1.10 -	sed -i 's|^[Ee]xec=libreoffice[0-9\.]*|Exec=libreoffice|' \$1/usr/lib/libreoffice*/share/xdg/*.desktop
    1.11 +	sed -i 's|^\\([Ee]xec=libreoffice\\)[0-9\\.]*|\\0|'	    \$1/usr/lib/libreoffice*/share/xdg/*.desktop
    1.12  
    1.13  	cd \$1/usr/bin
    1.14  	ln -sf /usr/lib/libreoffice/program/soffice