From f74d8a173171bafaeb5b5323a5564bcdc50e681e Mon Sep 17 00:00:00 2001 From: Dimitris Papagiannis Date: Thu, 20 Jun 2024 12:07:43 +0200 Subject: [PATCH] Modify stop command to use the "current" link --- deploy_dqmgui.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy_dqmgui.sh b/deploy_dqmgui.sh index 5c94c3f..bb09297 100755 --- a/deploy_dqmgui.sh +++ b/deploy_dqmgui.sh @@ -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)