Fix installation failure on install -fap
When installing Icecast manually, we don't want the installer to interfere with the icecast.xml config file by changing the passwords. The script was failing trying to copy the Icecast password file it didn't create.
This commit is contained in:
parent
0f4466b9ab
commit
f00e912618
4
install
4
install
|
@ -1152,9 +1152,11 @@ if [ ! -d "/etc/airtime" ]; then
|
|||
mkdir /etc/airtime
|
||||
fi
|
||||
|
||||
if [ ! -e "/etc/airtime/airtime.conf" ] && [ ! -e "/etc/airtime/airtime.conf.tmp" ]; then
|
||||
if [ "$icecast" = "t" ]; 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
|
||||
fi
|
||||
|
||||
chown -R ${web_user}:${web_user} /etc/airtime
|
||||
|
|
Loading…
Reference in New Issue