From 1c89675f6e5a7302a855b16eb901cc5357dcd085 Mon Sep 17 00:00:00 2001 From: Robb Ebright Date: Thu, 9 Jan 2020 07:58:29 -0500 Subject: [PATCH] made sure icecast_pass was copied to airtime directory upon reprovision --- install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install b/install index 216ba0b90..613597a22 100755 --- a/install +++ b/install @@ -1118,11 +1118,12 @@ if [ ! -d "/etc/airtime" ]; then verbose "\n * Creating /etc/airtime/ directory..." mkdir /etc/airtime - # need to copy the icecast_pass from temp to /etc/airtime so installer can read it - cp /tmp/icecast_pass /etc/airtime/icecast_pass fi - +if [ ! -f "/etc/airtime/airtime.conf" ]; then + # need to copy the icecast_pass from temp to /etc/airtime so web-based installer can read it + cp /tmp/icecast_pass /etc/airtime/icecast_pass +fi chown -R ${web_user}:${web_user} /etc/airtime