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