i wont venture to speculate why the apt sources are pointing to
ubuntu.com - but i noticed that the sed line in your script does
nothing useful:

  sed 's/#ubuntu/#trisquel/' debian/patches/ubuntu_defaults.patch

if you are trying to modify the 'ubuntu_defaults.patch' file, you need
to add the -i switch

  sed -i 's/#ubuntu/#trisquel/' debian/patches/ubuntu_defaults.patch

but i just looked at that patch and all of its changes are specific to
ubuntu (and mostly unnecessary)[1] - as it is, your change will still
leave the name of the freenode network as "Ubuntu Servers (freenode)"

the best thing to do in this case would be to delete that patch
entirely and run sed over the original upstream file[2] like:

  sed -i 's/#hexchat/#trisquel/' src/fe-gtk/joind.c

or replace the patch with a new one named 'trisquel_defaults.patch'
that makes the same change


[1]: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/hexchat/
wily/view/head:/debian/patches/ubuntu_defaults.patch
[2]: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/wily/hexchat/
wily/view/head:/src/fe-gtk/joind.c#L252

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Trisquel-devel mailing list
[email protected]
https://listas.trisquel.info/mailman/listinfo/trisquel-devel

Reply via email to