mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Merge pull request #242 from vhgroup/develop
add-apt-repository was moved to software-properties-common in version 12...
This commit is contained in:
commit
92abdec4d1
1 changed files with 1 additions and 1 deletions
|
@ -1250,7 +1250,7 @@ __enable_universe_repository() {
|
|||
|
||||
install_ubuntu_deps() {
|
||||
apt-get update
|
||||
if [ $DISTRO_MAJOR_VERSION -eq 12 ] || [ $DISTRO_MAJOR_VERSION -gt 12 ]; then
|
||||
if [ $DISTRO_MAJOR_VERSION -gt 12 ] || [ $DISTRO_MAJOR_VERSION -eq 12 -a $DISTRO_MINOR_VERSION -eq 10 ]; then
|
||||
# Above Ubuntu 11.10 add-apt-repository is in a different package
|
||||
__apt_get_install_noinput software-properties-common || return 1
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue