CC-2166 Packaging improvements
Added command line options to the install process to overwrite or preserve the existing config files. Added the pypo-start/stop and recorder-start/stop symlinks to /usr/bin. Renamed pypo-start.py to airtime-pypo-start. Renamed pypo-stop.py to airtime-pypo-stop. Renamed recorder-start.py to airtime-show-recorder-start. Renamed recorder-stop.py to airtime-show-recorder-stop. Renamed testrecordscript.py to recorder.py
This commit is contained in:
parent
2b90008ef2
commit
173d82007f
14 changed files with 75 additions and 21 deletions
6
python_apps/show-recorder/install/recorder-uninstall.py
Normal file → Executable file
6
python_apps/show-recorder/install/recorder-uninstall.py
Normal file → Executable file
|
@ -37,11 +37,15 @@ try:
|
|||
print 'Error loading config file: ', e
|
||||
sys.exit()
|
||||
|
||||
os.system("python %s/recorder-stop.py" % get_current_script_dir())
|
||||
os.system("python /usr/bin/airtime-show-recorder-stop")
|
||||
|
||||
print "Removing log directories"
|
||||
remove_path(config["log_dir"])
|
||||
|
||||
print "Removing symlinks"
|
||||
os.system("rm -f /usr/bin/airtime-show-recorder-start")
|
||||
os.system("rm -f /usr/bin/airtime-show-recorder-stop")
|
||||
|
||||
print "Removing application files"
|
||||
remove_path(config["bin_dir"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue