diff options
Diffstat (limited to 'share/provision')
-rwxr-xr-x | share/provision/development | 5 | ||||
-rwxr-xr-x | share/provision/messenger | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/share/provision/development b/share/provision/development index 0f44c07..0b477df 100755 --- a/share/provision/development +++ b/share/provision/development @@ -30,7 +30,10 @@ APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" cd # Configuring APT -sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list || exit 1 +$APT_INSTALL apt-transport-https || exit 1 +sudo sed -i -e "s|http://http.debian.net|https://deb.debian.org|g" /etc/apt/sources.list || exit 1 +sudo sed -i -e "s|http://deb.debian.org|https://deb.debian.org|g" /etc/apt/sources.list || exit 1 +sudo sed -i -e "s|main$|main contrib non-free|g" /etc/apt/sources.list || exit 1 # Upgrade if which hydractl &> /dev/null; then diff --git a/share/provision/messenger b/share/provision/messenger index 895b325..ceb178c 100755 --- a/share/provision/messenger +++ b/share/provision/messenger @@ -35,7 +35,7 @@ $APT_INSTALL curl apt-transport-https # Setup Signal repository #curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add - sudo cp $DIRNAME/files/messenger/etc/apt/trusted.gpg.d/signal.org.gpg /etc/apt/trusted.gpg.d/ -echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee /etc/apt/sources.list.d/signal-xenial.list +echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee /etc/apt/sources.list.d/signal-xenial.list > /dev/null # Install Signal sudo apt update && $APT_INSTALL signal-desktop |