matrix-commander - Update executable path after last git pull

This commit is contained in:
2022-05-29 23:41:15 +02:00
parent 89c9e43979
commit 27ed63996a

View File

@@ -42,7 +42,7 @@ step_1_info() { echo "Run $toolName"; }
step_1_alias() { echo "run"; } step_1_alias() { echo "run"; }
step_1() { step_1() {
shift shift
exe "$MACO_BASE_DIR/bin/python3" "$MACO_DIR/matrix-commander.py" "$@" exe "$MACO_BASE_DIR/bin/python3" "$MACO_DIR/matrix_commander/matrix_commander.py" "$@"
} }
step_3_info() { step_3_info() {
@@ -62,7 +62,7 @@ step_50() {
apt install $toolDeps $APTOPT apt install $toolDeps $APTOPT
} }
step_51_info() { echo "Add system user $MACO_USER"; } step_51_info() { echo "Add system user ${MACO_USER:-}"; }
step_51() { step_51() {
id $MACO_USER >/dev/null 2>&1 id $MACO_USER >/dev/null 2>&1
[ $? -eq 0 ] && endReturn -o 1 "User $MACO_USER already exists" [ $? -eq 0 ] && endReturn -o 1 "User $MACO_USER already exists"