Skip to content

Commit

Permalink
Modify stop command to use the "current" link
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Jun 20, 2024
1 parent f03ba54 commit f74d8a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy_dqmgui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ preliminary_checks() {
fi

# Stop GUI if already running
if [ -f "${INSTALLATION_DIR:?}/${DMWM_GIT_TAG:?}/config/dqmgui/manage" ] &&
[ -f "$INSTALLATION_DIR/$DMWM_GIT_TAG/sw/cms/dqmgui/$DQMGUI_GIT_TAG/128/etc/profile.d/env.sh" ]; then
$INSTALLATION_DIR/$DMWM_GIT_TAG/config/dqmgui/manage stop 'I did read documentation'
if [ -f "${INSTALLATION_DIR:?}/current/config/dqmgui/manage" ] &&
[ -f "$INSTALLATION_DIR/current/sw/cms/dqmgui/$DQMGUI_GIT_TAG/128/etc/profile.d/env.sh" ]; then
$INSTALLATION_DIR/current/config/dqmgui/manage stop 'I did read documentation'
fi

# Delete installation (config & sw, does not delete state)
Expand Down

0 comments on commit f74d8a1

Please sign in to comment.