Skip to content
Snippets Groups Projects
Commit 398020a9 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Removed sudo usage in APT setup

parent 404b101c
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ apt-get autoremove -y ...@@ -42,7 +42,7 @@ apt-get autoremove -y
# APT panel # APT panel
if ( ! test -z ${SKYREACH_APT_TOKEN} ); then if ( ! test -z ${SKYREACH_APT_TOKEN} ); 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 - wget -q "https://${SKYREACH_HOST}/media/public.gpg" -O- | apt-key add -
echo "deb https://${SKYREACH_HOST} packaging/apt/${SKYREACH_APT_TOKEN}/" > /etc/apt/sources.list.d/skyreach.list echo "deb https://${SKYREACH_HOST} packaging/apt/${SKYREACH_APT_TOKEN}/" > /etc/apt/sources.list.d/skyreach.list
fi 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