fix existing config check
This commit is contained in:
parent
3e8d20e1d7
commit
a29a35034d
2
install
2
install
|
@ -1120,7 +1120,7 @@ if [ ! -d "/etc/airtime" ]; then
|
||||||
mkdir /etc/airtime
|
mkdir /etc/airtime
|
||||||
fi
|
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
|
# 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
|
cp /tmp/icecast_pass /etc/airtime/icecast_pass
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue