#!/bin/sh # # Copyright (C) 2011 Rubén Rodríguez # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # VERSION=3 . ./config #remove references to Opera and Mozilla sed '/opera/ s/^.*$/Selects which browser to use to open external links.<\/description>/' -i net.sf.liferea.gschema.xml* sed 's/Firefox/Abrowser/g; s/firefox/abrowser/g; /google-chrome/,/{/d; /opera/,/{/d' -i src/browser.c rm debian/patches/ubuntu-example-feeds.patch debian/patches/debian-example-feeds.patch sed '/ubuntu-example-feeds/d; /debian-example-feeds/d;' debian/patches/series -i #rm opml/feedlist_* #sed '/feedlist_/d; s/\(.*feedlist.opml.*\)/\1\n\tfeedlist_es.opml/;' opml/Makefile.* -i cat << EOF > opml/feedlist Liferea Default Feed List EOF for feed in opml/feedlist_* do cat opml/feedlist > $feed done rm opml/feedlist cat << EOF > opml/feedlist_es.opml Liferea Default Feed List EOF changelog "Compiled for Trisquel" compile