Skip to content

Commit 103bb7d

Browse files
committed
Merge branch 'develop' into stable
2 parents 1a36092 + c782ac9 commit 103bb7d

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Version 2015.02.28:
2+
* Fix Debian backports repository.
3+
14
Version 2015.02.27:
25
* Try other tools besides wget when downloading the COPR repo file. Thanks Ronald van
36
Zantvoort(The-Loeki)

bootstrap-salt.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# CREATED: 10/15/2012 09:49:37 PM WEST
1818
#======================================================================================================================
1919
set -o nounset # Treat unset variables as an error
20-
__ScriptVersion="2015.02.27"
20+
__ScriptVersion="2015.02.28"
2121
__ScriptName="bootstrap-salt.sh"
2222

2323
#======================================================================================================================
@@ -2039,13 +2039,9 @@ _eof
20392039
fi
20402040

20412041
# Debian Backports
2042-
if [ "$(grep -R 'backports.debian.org' /etc/apt)" = "" ]; then
2043-
echo "deb http://backports.debian.org/debian-backports squeeze-backports main" >> \
2042+
if [ "$(grep -R 'squeeze-backports' /etc/apt | grep -v "^#")" = "" ]; then
2043+
echo "deb http://http.debian.net/debian-backports squeeze-backports main" >> \
20442044
/etc/apt/sources.list.d/backports.list
2045-
2046-
# Add the backports key
2047-
gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
2048-
gpg -a --export 8B48AD6246925553 | apt-key add -
20492045
fi
20502046

20512047
# Saltstack's Stable Debian repository
@@ -2098,6 +2094,12 @@ install_debian_7_deps() {
20982094
# Install Keys
20992095
__apt_get_install_noinput debian-archive-keyring && apt-get update
21002096

2097+
# Debian Backports
2098+
if [ "$(grep -R 'wheezy-backports' /etc/apt | grep -v "^#")" = "" ]; then
2099+
echo "deb http://http.debian.net/debian wheezy-backports main" >> \
2100+
/etc/apt/sources.list.d/backports.list
2101+
fi
2102+
21012103
# Saltstack's Stable Debian repository
21022104
if [ "$(grep -R 'wheezy-saltstack' /etc/apt)" = "" ]; then
21032105
echo "deb http://debian.saltstack.com/debian wheezy-saltstack main" >> \

0 commit comments

Comments
 (0)