Fixed changed name for pip package
Change-Id: I155d42b0b45444fe239cb4ac9bd7e26e5c835aa5
This commit is contained in:
parent
051eccd103
commit
647100abeb
|
@ -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
|
||||
;;
|
||||
|
||||
|
|
4
setup.sh
4
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
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue