wok diff midori/receipt @ rev 20569

nss: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 11:00:12 2018 +0100 (2018-12-13)
parents ebb57f2c0d8a
children 70e1dc58412b
line diff
     1.1 --- a/midori/receipt	Sun Jul 12 18:00:01 2015 +0200
     1.2 +++ b/midori/receipt	Thu Dec 13 11:00:12 2018 +0100
     1.3 @@ -52,7 +52,7 @@
     1.4  	cp -a $install/etc $fs
     1.5  	cp $stuff/config $fs/etc/xdg/midori
     1.6  	# add SliTaz token to DDG, add Twitter search
     1.7 -	cd $fs && patch -p1 < $stuff/search.patch && status
     1.8 +	cd $fs; patch -p1 < $stuff/search.patch; status
     1.9  
    1.10  	# Midori use sqlite to store bookmarks
    1.11  	#cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
    1.12 @@ -62,14 +62,6 @@
    1.13  
    1.14  	# desktop files
    1.15  	cp -a $install/usr/share/applications $fs/usr/share
    1.16 -	find $fs -name '*.desktop' -exec sed -i \
    1.17 -		'/^Version/d; /^GenericName/d; /^X-/d; \
    1.18 -		/^Actions=/d' \{\} \;
    1.19 -	desktop=$fs/usr/share/applications/midori.desktop
    1.20 -	lastline=$(expr $(grep -n '^\[Desktop Action TabNew\]' $desktop | \
    1.21 -		cut -d: -f1) - 2)
    1.22 -	head -n $lastline $desktop > $desktop.new
    1.23 -	mv -f $desktop.new $desktop
    1.24  
    1.25  	cp -a $install/usr/share/doc/midori/faq* $fs/usr/share/doc/midori
    1.26  	cp -a $install/usr/share/midori $fs/usr/share