wok-current rev 19833
midori: fix desktop file
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 11 04:45:41 2017 +0200 (2017-03-11) |
parents | 5fbd252d16d2 |
children | 3687205148b4 |
files | midori/receipt |
line diff
1.1 --- a/midori/receipt Fri Mar 10 20:46:32 2017 +0100 1.2 +++ b/midori/receipt Sat Mar 11 04:45:41 2017 +0200 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