Merge branch 'lighttpd-fix-index-html' into 'belenos'

Lighttpd: fix ubuntu references in index.html

Lighttpd currently comes directly from Ubuntu and the default index.html file refers to Ubuntu. This is the page you see if you install Lighttpd and browse to localhost:80. I changed the strings to say Trisquel GNU/Linux but it does refer to "upstream bug tracker" for bugs (i.e. ubuntu launchpad) because Trisquel doesn't list any lighttpd bugs.

See merge request !31
This commit is contained in:
ruben 2015-01-07 23:01:51 +00:00
commit 8dbb778160

30
helpers/make-lighttpd Normal file
View file

@ -0,0 +1,30 @@
#!/bin/sh
#
# Copyright (C) 2015 fr33domlover <fr33domlover@riseup.net>
#
# 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 3 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, see <http://www.gnu.org/licenses/>.
VERSION=1
. ./config
HTML_FILE=debian/index.html
sed -i 's~Ubuntu\sBug\sTracking\sSystem~upstream bug tracker~g' $HTML_FILE
sed -i 's~Ubuntu~Trisquel GNU/Linux~g' $HTML_FILE
sed -i 's~packages\.ubuntu\.com~packages.trisquel.info~g' $HTML_FILE
changelog "Fix Ubuntu references in the default index.html"
compile