update-manager: improve trisquel version detection

Closes #12545
This commit is contained in:
Santiago Rodriguez 2015-10-21 04:21:52 +02:00
parent c7392a3e96
commit 770c85ee9c
2 changed files with 31 additions and 1 deletions

View file

@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=6
VERSION=7
. ./config
@ -30,6 +30,9 @@ sed '/%s base/ s/name.*/name = "Trisquel base"/' -i ./UpdateManager/Core/UpdateL
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
#Closes #12545
patch -p0 < $DATA/trisquel-versions.patch
changelog "Compiled for Trisquel"
compile