use default python3, might be missing libs otherwise
This commit is contained in:
parent
395c6e5112
commit
b66f8cd026
1 changed files with 8 additions and 8 deletions
16
ctl
16
ctl
|
@ -66,10 +66,10 @@ if [ "$1" == "start" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! -d "$BASE/$NAME/.git" ]; then
|
if [ ! -d "$BASE/$NAME/.git" ]; then
|
||||||
python3.4 oml install_update
|
python3 oml install_update
|
||||||
cd "$BASE/$NAME"
|
cd "$BASE/$NAME"
|
||||||
fi
|
fi
|
||||||
exec python3.4 oml server $PID
|
exec python3 oml server $PID
|
||||||
fi
|
fi
|
||||||
if [ "$1" == "debug" ]; then
|
if [ "$1" == "debug" ]; then
|
||||||
cd "$BASE/$NAME"
|
cd "$BASE/$NAME"
|
||||||
|
@ -78,7 +78,7 @@ if [ "$1" == "debug" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shift
|
shift
|
||||||
exec python3.4 oml server $@
|
exec python3 oml server $@
|
||||||
fi
|
fi
|
||||||
if [ "$1" == "stop" ]; then
|
if [ "$1" == "stop" ]; then
|
||||||
remove_loginscript
|
remove_loginscript
|
||||||
|
@ -101,13 +101,13 @@ if [ "$1" == "open" ]; then
|
||||||
open "/Applications/Open Media Library.app"
|
open "/Applications/Open Media Library.app"
|
||||||
fi
|
fi
|
||||||
if [ $SYSTEM == "Linux" ]; then
|
if [ $SYSTEM == "Linux" ]; then
|
||||||
exec python3.4 "$NAME/oml/gtkwebkit.py" $@
|
exec python3 "$NAME/oml/gtkwebkit.py" $@
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [ "$1" == "ui" ]; then
|
if [ "$1" == "ui" ]; then
|
||||||
shift
|
shift
|
||||||
exec python3.4 "$NAME/oml/ui.py" $@
|
exec python3 "$NAME/oml/ui.py" $@
|
||||||
fi
|
fi
|
||||||
if [ "$1" == "update" ]; then
|
if [ "$1" == "update" ]; then
|
||||||
cd "$BASE/$NAME"
|
cd "$BASE/$NAME"
|
||||||
|
@ -124,15 +124,15 @@ if [ "$1" == "update" ]; then
|
||||||
NEW=`"$0" version`
|
NEW=`"$0" version`
|
||||||
"$0" postupdate -o $OLD -n $NEW
|
"$0" postupdate -o $OLD -n $NEW
|
||||||
else
|
else
|
||||||
python3.4 oml update
|
python3 oml update
|
||||||
fi
|
fi
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
if [ "$1" == "python" ]; then
|
if [ "$1" == "python" ]; then
|
||||||
cd "$BASE/$NAME"
|
cd "$BASE/$NAME"
|
||||||
shift
|
shift
|
||||||
exec python3.4 $@
|
exec python3 $@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$BASE/$NAME"
|
cd "$BASE/$NAME"
|
||||||
exec python3.4 oml $@
|
exec python3 oml $@
|
||||||
|
|
Loading…
Reference in a new issue