Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
e24a3673
Commit
e24a3673
authored
6 years ago
by
Nicolas KAROLAK
Browse files
Options
Downloads
Patches
Plain Diff
use curl
curl actually respect configured proxy settings, what wget does not seem to do
parent
acf5b4e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
3.New_server_deployment/4.APT_upgrade/0_setup.sh
+2
-2
2 additions, 2 deletions
3.New_server_deployment/4.APT_upgrade/0_setup.sh
with
2 additions
and
2 deletions
3.New_server_deployment/4.APT_upgrade/0_setup.sh
+
2
−
2
View file @
e24a3673
...
@@ -5,7 +5,7 @@ DEBIAN_FRONTEND=noninteractive
...
@@ -5,7 +5,7 @@ DEBIAN_FRONTEND=noninteractive
export
DEBIAN_FRONTEND
export
DEBIAN_FRONTEND
apt-get update
apt-get update
apt-get
install
-y
apt-transport-https
apt-get
install
-y
apt-transport-https
curl
# move 50unattended-upgrades conf if any
# move 50unattended-upgrades conf if any
if
[
-f
/etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist
]
;
then
if
[
-f
/etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist
]
;
then
...
@@ -57,7 +57,7 @@ systemctl unmask nginx || true
...
@@ -57,7 +57,7 @@ systemctl unmask nginx || true
# APT panel
# APT panel
if
(
!
test
-z
${
SKYREACH_API_KEY
}
)
;
then
if
(
!
test
-z
${
SKYREACH_API_KEY
}
)
;
then
echo
"Adding skyreach.list to APT sources."
echo
"Adding skyreach.list to APT sources."
wget
-
q
"https://
${
SKYREACH_HOST
}
/media/public.gpg"
-O-
|
sudo
apt-key add -
curl
-
s
"https://
${
SKYREACH_HOST
}
/media/public.gpg"
|
sudo
apt-key add -
echo
"deb https://
${
SKYREACH_HOST
}
packaging/apt/
${
SKYREACH_API_KEY
}
/"
>
/etc/apt/sources.list.d/skyreach.list
echo
"deb https://
${
SKYREACH_HOST
}
packaging/apt/
${
SKYREACH_API_KEY
}
/"
>
/etc/apt/sources.list.d/skyreach.list
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment