temp comit
This commit is contained in:
parent
a45cc5f29e
commit
e19bf33f51
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
virtualenv_bin="/home/james/temp/bin/"
|
||||||
|
. ${virtualenv_bin}activate
|
||||||
|
|
||||||
#Cause bash script to exit if any of the installers
|
#Cause bash script to exit if any of the installers
|
||||||
#return with a non-zero return value.
|
#return with a non-zero return value.
|
||||||
set -e
|
set -e
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
virtualenv_bin="/home/james/temp/bin/"
|
||||||
|
. ${virtualenv_bin}activate
|
||||||
|
|
||||||
#Cause bash script to exit if any of the installers
|
#Cause bash script to exit if any of the installers
|
||||||
#return with a non-zero return value.
|
#return with a non-zero return value.
|
||||||
set -e
|
set -e
|
||||||
|
|
|
@ -1,10 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Location of pypo_cli.py Python script
|
# Location of pypo_cli.py Python script
|
||||||
|
|
||||||
|
virtualenv_bin="/home/james/temp/bin/"
|
||||||
|
. ${virtualenv_bin}activate
|
||||||
|
|
||||||
media_monitor_path="/usr/lib/airtime/media-monitor/"
|
media_monitor_path="/usr/lib/airtime/media-monitor/"
|
||||||
media_monitor_script="MediaMonitor.py"
|
media_monitor_script="MediaMonitor.py"
|
||||||
|
|
||||||
api_client_path="/usr/lib/airtime/pypo/"
|
api_client_path="/usr/lib/airtime/pypo/"
|
||||||
|
|
||||||
cd ${media_monitor_path}
|
cd ${media_monitor_path}
|
||||||
|
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
virtualenv_bin="/home/james/temp/bin/"
|
||||||
|
. ${virtualenv_bin}activate
|
||||||
|
|
||||||
ls_user="pypo"
|
ls_user="pypo"
|
||||||
export HOME="/var/tmp/airtime/pypo/"
|
export HOME="/var/tmp/airtime/pypo/"
|
||||||
api_client_path="/usr/lib/airtime/pypo/"
|
api_client_path="/usr/lib/airtime/pypo/"
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
virtualenv_bin="/home/james/temp/bin/"
|
||||||
|
. ${virtualenv_bin}activate
|
||||||
|
|
||||||
pypo_user="pypo"
|
pypo_user="pypo"
|
||||||
|
|
||||||
# Location of pypo_cli.py Python script
|
# Location of pypo_cli.py Python script
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
virtualenv_bin="/home/james/temp/bin/"
|
||||||
|
. ${virtualenv_bin}activate
|
||||||
|
|
||||||
recorder_user="pypo"
|
recorder_user="pypo"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Location of pypo_cli.py Python script
|
virtualenv_bin="/home/james/temp/bin/"
|
||||||
|
. ${virtualenv_bin}activate
|
||||||
|
|
||||||
airtime_import_path="/usr/lib/airtime/utils/airtime-import/"
|
airtime_import_path="/usr/lib/airtime/utils/airtime-import/"
|
||||||
airtime_import_script="airtime-import.py"
|
airtime_import_script="airtime-import.py"
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,7 @@ def StorageSetAction(option, opt, value, parser):
|
||||||
parser.rargs.remove('--force')
|
parser.rargs.remove('--force')
|
||||||
if(not bypass):
|
if(not bypass):
|
||||||
errorIfMultipleOption(parser.rargs, "Only [-f] and [--force] option is allowed with this option.")
|
errorIfMultipleOption(parser.rargs, "Only [-f] and [--force] option is allowed with this option.")
|
||||||
possibleInput = {'y','Y','n','N'}
|
possibleInput = ['y','Y','n','N']
|
||||||
confirm = raw_input("Are you sure you want to change the storage direcory? (y/N)")
|
confirm = raw_input("Are you sure you want to change the storage direcory? (y/N)")
|
||||||
confirm = confirm or 'N'
|
confirm = confirm or 'N'
|
||||||
while(confirm not in possibleInput):
|
while(confirm not in possibleInput):
|
||||||
|
|
Loading…
Reference in New Issue