diff --git a/seqs/matrix-commander.sh b/seqs/matrix-commander.sh index b6eb3df..fb6ee47 100755 --- a/seqs/matrix-commander.sh +++ b/seqs/matrix-commander.sh @@ -38,13 +38,11 @@ step_config() { return 0 } -step_1_info() { echoinfoArgs "[-u]"; echo "Run $toolName"; } +step_1_info() { echo "Run $toolName"; } step_1_alias() { ALIAS="run"; } step_1() { shift - local asUser= - [ "$1" == "-u" ] && asUser="sudo -u $MACO_USER" && shift - exe $asUser "$MACO_BASE_DIR/bin/python3" "$MACO_DIR/matrix-commander.py" "$@" + exe "$MACO_BASE_DIR/bin/python3" "$MACO_DIR/matrix-commander.py" "$@" } step_3_info() { @@ -97,7 +95,6 @@ NOTES_END exe sudo -u $MACO_USER ${MACO_BASE_DIR}/bin/pip install -r ${MACO_DIR}/requirements.txt } - step_55_info() { echo "Create systemd service for $toolName" echoinfo "(Make sure to modify the service content in the step configuration)" @@ -120,9 +117,6 @@ step_57() { echoseq " [I] use \"$SEQ_NAME run --verify\" to verify against an existing session (like Element)" } - - -step_60_info() { echo "Notes"; } step_60_alias() { ALIAS="notes"; } step_60() { outColor green