From 7bc084d60e6863a1b1892fc73fa727f6a9eb95b3 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 5 Aug 2014 11:07:22 -0300 Subject: [PATCH] debian-wheezy.sh: use download.noosfero.org --- script/install-dependencies/debian-wheezy.sh | 159 +++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------------------- 1 file changed, 43 insertions(+), 116 deletions(-) diff --git a/script/install-dependencies/debian-wheezy.sh b/script/install-dependencies/debian-wheezy.sh index 106844a..1f5f7ed 100644 --- a/script/install-dependencies/debian-wheezy.sh +++ b/script/install-dependencies/debian-wheezy.sh @@ -1,124 +1,51 @@ -# FIXME upload to a more official repository and sign with an existing key -if [ ! -e /etc/apt/sources.list.d/noosfero.list ]; then +sources_entry='deb http://download.noosfero.org/debian/wheezy ./' + +if ! grep -q "$sources_entry" /etc/apt/sources.list/noosfero.list; then sudo tee /etc/apt/sources.list.d/noosfero.list <