aboutsummaryrefslogtreecommitdiff
path: root/share/provision
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-02 22:04:07 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-02 22:04:07 -0200
commit7441b792e197734b85f7c01a64397fb97a267128 (patch)
tree9e75019a3ed39e556a42d817c12605d29d2138f6 /share/provision
parent6207b570cf9bc67fb0988ce91f5c79e6430c0acc (diff)
downloadkvmx-7441b792e197734b85f7c01a64397fb97a267128.tar.gz
kvmx-7441b792e197734b85f7c01a64397fb97a267128.tar.bz2
Adds qcow2_compression config, use https://deb.debian.org/debian/ mirror when possible
Diffstat (limited to 'share/provision')
-rwxr-xr-xshare/provision/development5
-rwxr-xr-xshare/provision/messenger2
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