Skip to content
Snippets Groups Projects
Commit 8fa42504 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

Revert "use curl"

This reverts commit e24a3673.
parent e24a3673
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ DEBIAN_FRONTEND=noninteractive
export DEBIAN_FRONTEND
apt-get update
apt-get install -y apt-transport-https curl
apt-get install -y apt-transport-https
# move 50unattended-upgrades conf if any
if [ -f /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist ]; then
......@@ -57,7 +57,7 @@ systemctl unmask nginx || true
# APT panel
if ( ! test -z ${SKYREACH_API_KEY} ); then
echo "Adding skyreach.list to APT sources."
curl -s "https://${SKYREACH_HOST}/media/public.gpg" | sudo apt-key add -
wget -q "https://${SKYREACH_HOST}/media/public.gpg" -O- | sudo apt-key add -
echo "deb https://${SKYREACH_HOST} packaging/apt/${SKYREACH_API_KEY}/" > /etc/apt/sources.list.d/skyreach.list
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment