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 <