diff options
-rw-r--r-- | install-itzks-workstation | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index d8f1e53..0274cf5 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -29,18 +29,14 @@ fi invoke-rc.d fetch-ldap-cert start # Alternate add itzks-package repo only if not already there -if [ -e /etc/apt/sources.list.d/itzks.list ] +if [ ! -e /etc/apt/sources.list.d/itzks.list ] then - : - else touch /etc/apt/sources.list.d/itzks.list fi # Add repos to itzks.list if empty -if [ -s /etc/apt/sources.list.d/itzks.list ] +if [ ! -s /etc/apt/sources.list.d/itzks.list ] then - : - else echo "deb http://packages.it-zukunt-schule.de/debian stretch main contrib non-free" >> /etc/apt/sources.list.d/itzks.list echo "deb http://packages.it-zukunft-schule.de/debian stretch-backports main contrib non-free" >> /etc/apt/sources.list.d/itzks.list echo "deb http://packages.it-zukunft-schuke.de/debian sid main contrib non-free" >> /etc/apt/sources.list.d/itzks.list |