Skip to content

Commit

Permalink
Update Firefox.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd committed Oct 25, 2016
1 parent 037cc17 commit 682e641
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions recipes/meta/Firefox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ ingredients:
- DLD=$(wget -q "https://www.mozilla.org/en-US/firefox/all/" -O - | grep -E "os=linux64&lang=en-US" | cut -d'"' -f2)
- wget -c $DLD --trust-server-names
- echo $DLD | cut -d- -f2 > VERSION
- tar xf firefox*.tar.bz2


script:
- tar xfj ../firefox*.tar.bz2
- mv firefox/* usr/bin/
- find . -name mozicon128.png -exec cp \{\} firefox.png \;
- cp -r ../firefox/* usr/bin/
- find . -name mozicon128.png -exec cp {} firefox.png \;
- # Workaround for:
- # https://bugzilla.mozilla.org/show_bug.cgi?id=296568
- cat > firefox.desktop <<EOF
- [Desktop Entry]
- Type=Application
Expand All @@ -20,3 +23,6 @@ script:
- MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
- StartupNotify=true
- EOF

post:
- cp ../firefox/libnss3.so usr/bin # Override excludelist

0 comments on commit 682e641

Please sign in to comment.