~m-grant-prg/agmaint/stretch

« back to all changes in this revision

Viewing changes to src/data/pkgdata/trusted.sh.d/add-obs-raspbian.sh.in

  • Committer: Mark Grant
  • Date: 2021-04-29 13:40:17 UTC
  • mfrom: (65.1.6 stretch-trunk)
  • Revision ID: m.grant.prg@gmail.com-20210429134017-4b880195bl71pelq
Merge from stretch-trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#########################################################################
10
10
#                                                                       #
11
11
# Script ID: add-obs-raspbian.sh                                        #
12
 
# Author: Copyright (C) 2020  Mark Grant                                #
 
12
# Author: Copyright (C) 2020, 2021  Mark Grant                          #
13
13
#                                                                       #
14
14
# Released under the GPLv3 only.                                        #
15
15
# SPDX-License-Identifier: GPL-3.0                                      #
59
59
# Date          Author  Version Description                             #
60
60
#                                                                       #
61
61
# 22/05/2020    MG      1.0.1   Created.                                #
 
62
# 25/04/2021    MG      1.0.2   Prefer curl to wget.                    #
62
63
#                                                                       #
63
64
#########################################################################
64
65
 
69
70
##################
70
71
# Init variables #
71
72
##################
72
 
readonly version=1.0.1                          # Script version
 
73
readonly version=1.0.2                          # Script version
73
74
readonly outputprefix="$(basename $0): "
74
75
readonly packageversion=@pkgversion@            # Package version
75
76
 
198
199
proc_CL "$@"
199
200
 
200
201
# OBS
201
 
wget -"$verbose"O - https://download.opensuse.org/repositories/home:m-grant-prg/Raspbian_10/Release.key | sudo apt-key --keyring @sysconfdir@/apt/trusted.gpg.d/obs-raspbian-keyring.gpg add -
202
 
wget -"$verbose"O - https://download.opensuse.org/repositories/home:m-grant-prg/Raspbian_9.0/Release.key | sudo apt-key --keyring @sysconfdir@/apt/trusted.gpg.d/obs-raspbian-keyring.gpg add -
 
202
curl -fsSL"$verbose" https://download.opensuse.org/repositories/home:m-grant-prg/Raspbian_10/Release.key | sudo apt-key --keyring @sysconfdir@/apt/trusted.gpg.d/obs-raspbian-keyring.gpg add -
 
203
curl -fsSL"$verbose" https://download.opensuse.org/repositories/home:m-grant-prg/Raspbian_9.0/Release.key | sudo apt-key --keyring @sysconfdir@/apt/trusted.gpg.d/obs-raspbian-keyring.gpg add -
203
204