Only add source if doesnt already exist
This commit is contained in:
parent
696e2a6a78
commit
b2d3f03b4c
1 changed files with 19 additions and 4 deletions
|
@ -1,6 +1,21 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo "deb http://downloads.hipchat.com/linux/apt stable main" > /etc/apt/sources.list.d/atlassian-hipchat.list
|
|
||||||
echo "deb http://apt.insynchq.com/ubuntu wily non-free contrib" > /etc/apt/sources.list.d/insync.list
|
if [ -a /etc/apt/sources.list.d/atlassian-hipchat.list ]; then
|
||||||
echo "deb http://download.virtualbox.org/virtualbox/debian wily contrib" > /etc/apt/sources.list.d/virtualbox.list
|
echo "deb http://downloads.hipchat.com/linux/apt stable main" >> /etc/apt/sources.list.d/atlassian-hipchat.list
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ -a /etc/apt/sources.list.d/insync.list ]; then
|
||||||
|
echo "deb http://apt.insynchq.com/ubuntu wily non-free contrib" >> /etc/apt/sources.list.d/insync.list
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ -a /etc/apt/sources.list.d/virtualbox.list ]; then
|
||||||
|
echo "deb http://download.virtualbox.org/virtualbox/debian wily contrib" >> /etc/apt/sources.list.d/virtualbox.list
|
||||||
|
if
|
||||||
|
|
||||||
|
|
||||||
|
if [ -a /etc/apt/sources.list.d/owncloud-client.list ]; then
|
||||||
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_15.10/ /' >> /etc/apt/sources.list.d/owncloud-client.list
|
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_15.10/ /' >> /etc/apt/sources.list.d/owncloud-client.list
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue