diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-24 17:43:46 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-24 17:43:46 +0100 |
commit | fa328c97cc72b37075c37bd154e5f431b051f19d (patch) | |
tree | f4e496cbc0e9ae0df7b97d3c08e65e993ca10bde | |
parent | ffd7fb47fe0107a187f9001ed43c6058960dc728 (diff) | |
download | itzks-install-script-fa328c97cc72b37075c37bd154e5f431b051f19d.tar.gz itzks-install-script-fa328c97cc72b37075c37bd154e5f431b051f19d.tar.bz2 itzks-install-script-fa328c97cc72b37075c37bd154e5f431b051f19d.zip |
itzks.list APT file creation: coding style fixes, Always append to the empty file.
-rw-r--r-- | install-itzks-workstation | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index fe5b605..a08d52d 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -23,10 +23,9 @@ fi invoke-rc.d fetch-ldap-cert start # Add itzks.list and its contents if file not already there -if [ ! -e /etc/apt/sources.list.d/itzks.list ] - then +if [ ! -e "/etc/apt/sources.list.d/itzks.list" ]; then touch /etc/apt/sources.list.d/itzks.list - echo "deb http://packages.it-zukunft-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 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-schule.de/debian sid main contrib non-free" >> /etc/apt/sources.list.d/itzks.list fi |