CC-4104: airtime-uninstall should not purge airtime database be default
-small fix
This commit is contained in:
parent
35d3d63e08
commit
832eafdea1
|
@ -151,6 +151,7 @@ if [ "$result" -eq "0" ]; then
|
|||
elif [ "$result" -eq "1" -a "$reinstall" = "f" ]; then
|
||||
echo " * Same version of Airtime already installed! Reusing database."
|
||||
nodb='t'
|
||||
overwrite='f'
|
||||
elif [ "$result" -eq "2" ]; then
|
||||
echo " * Previous version of Airtime already installed..will perform upgrade."
|
||||
DO_UPGRADE="1"
|
||||
|
|
|
@ -19,7 +19,7 @@ def generate_liquidsoap_config(ss):
|
|||
val = d[u'value']
|
||||
val = val if len(val) > 0 else "0"
|
||||
str_buffer = "%s = %s\n" % (key, val)
|
||||
fh.write(str_buffer)
|
||||
fh.write(str_buffer.encode('utf-8'))
|
||||
fh.write('log_file = "/var/log/airtime/pypo-liquidsoap/<script>.log"\n')
|
||||
fh.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue