fix existing config check

This commit is contained in:
Kyle Robbertze 2020-01-22 15:20:27 +02:00
parent 3e8d20e1d7
commit a29a35034d
1 changed files with 1 additions and 1 deletions

View File

@ -1120,7 +1120,7 @@ if [ ! -d "/etc/airtime" ]; then
mkdir /etc/airtime
fi
if [ ! -f "/etc/airtime/airtime.conf" ] && [ !-f "/etc/airtime/airtime.conf.tmp" ]; then
if [ ! -e "/etc/airtime/airtime.conf" ] && [ ! -e "/etc/airtime/airtime.conf.tmp" ]; 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