1
Description: <short summary of the patch>
2
TODO: Put a short summary on the line above and replace this paragraph
3
with a longer explanation of this change. Complete the meta-information
4
with other relevant fields (see below for details). To make it easier, the
5
information below has been extracted from the changelog. Adjust it or drop
8
linkat-repos (18.04-6) bionic; urgency=medium
10
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
11
Author: Pablo Vigo <pvigo@xtec.cat>
14
The information above should follow the Patch Tagging Guidelines, please
15
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
16
are templates for supplementary fields that you might want to add:
18
Origin: <vendor|upstream|other>, <url of original patch>
19
Bug: <url in upstream bugtracker>
20
Bug-Debian: https://bugs.debian.org/<bugnumber>
21
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
22
Forwarded: <no|not-needed|url proving that it has been forwarded>
23
Reviewed-By: <name and email of someone who approved the patch>
24
Last-Update: 2018-08-31
26
--- linkat-repos-18.04.orig/linkat-repos.sh
27
+++ linkat-repos-18.04/linkat-repos.sh
28
@@ -8,6 +8,17 @@ id | egrep adm > /dev/null 2>&1
31
apt-cache policy | egrep linkat > /dev/null 2>&1
32
+if [ $? -gt 0 ] && [ ! -f /usr/share/linkat/linkat-repos/firstflag ] ; then
34
+ wget http://download-linkat.xtec.cat/distribution/linkat-edu-$DISTRIB_RELEASE/linkat-repo-$DISTRIB_RELEASE.list
35
+ wget http://download-linkat.xtec.cat/distribution/linkat-edu-$DISTRIB_RELEASE/pubkey-linkat.gpg
36
+ apt-key add pubkey-linkat.gpg
37
+ mv linkat-repo* /etc/apt/sources.list.d/
39
+ touch /usr/share/linkat/linkat-repos/firstflag
42
+apt-cache policy | egrep linkat > /dev/null 2>&1
43
if [ $? -gt 0 ] && [ ! -f /usr/share/linkat/linkat-repos/repoflag ] ; then
44
zenity --question --title "Repositoris de la Linkat" --text "No teniu els repositoris de la Linkat configurats. \n\nVoleu afegir-los ara?"
45
if [ "$?" -eq 0 ]; then