diff --git a/setup-centos.sh b/setup-centos.sh index 492b5748..299eedf3 100644 --- a/setup-centos.sh +++ b/setup-centos.sh @@ -145,7 +145,7 @@ uninst() # Uninstall trough pip find_pip # looking up for python package installed - PYPKG=$SERVICE_SRV_NAME + PYPKG="muranoclient" _pkg=$($PIPCMD freeze | grep $PYPKG) if [ $? -eq 0 ]; then log "Removing package \"$PYPKG\" with pip" @@ -166,7 +166,7 @@ case $COMMAND in ;; uninstall ) - log "Uninstalling \"$SERVICE_SRV_NAME\" from system..." + log "Uninstalling muranoclient \"$SERVICE_SRV_NAME\" from system..." uninst ;; diff --git a/setup.sh b/setup.sh index b23a17ec..8b6d631a 100644 --- a/setup.sh +++ b/setup.sh @@ -134,7 +134,7 @@ uninst() # Uninstall trough pip # looking up for python package installed #PYPKG=`echo $SERVICE_SRV_NAME | tr -d '-'` - PYPKG=$SERVICE_SRV_NAME + PYPKG="muranoclient" pip freeze | grep $PYPKG if [ $? -eq 0 ]; then log "Removing package \"$PYPKG\" with pip" @@ -155,7 +155,7 @@ case $COMMAND in ;; uninstall ) - log "Uninstalling \"$SERVICE_SRV_NAME\" from system..." + log "Uninstalling muranoclient \"$SERVICE_SRV_NAME\" from system..." uninst ;;