make-update-manager 1.33 KB
Newer Older
1 2
#!/bin/sh
#
3
#    Copyright (C) 2008-2014  Rubén Rodríguez <ruben@trisquel.info>
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#
#    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
#

20
VERSION=7
21 22 23

. ./config

24
cp $DATA/index.docbook help/C/index.docbook
25

26 27
replace Ubuntu Trisquel .
replace "Trisquel-Gettext" "Ubuntu-Gettext" .
28

29 30 31
sed '/%s base/ s/name.*/name = "Trisquel base"/' -i ./UpdateManager/Core/UpdateList.py
sed 's_http://changelogs.ubuntu.com/changelogs/pool/_http://packages.trisquel.info/changelogs/pool/_' -i UpdateManager/Core/MyCache.py
sed '/len(changelog) == 0/,/"later."/d' -i UpdateManager/Core/MyCache.py
32

33 34 35
#Closes #12545
patch -p0 < $DATA/trisquel-versions.patch

36 37 38 39
changelog "Compiled for Trisquel"

compile