mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Cancel uninstalling python packages
This commit is contained in:
@@ -5,10 +5,6 @@ echo "Removing application and dependencies"
|
|||||||
if [ -d "/home/notify-app/notifications-admin" ]; then
|
if [ -d "/home/notify-app/notifications-admin" ]; then
|
||||||
# Remove and re-create the directory
|
# Remove and re-create the directory
|
||||||
rm -rf /home/notify-app/notifications-admin
|
rm -rf /home/notify-app/notifications-admin
|
||||||
mkdir -vp /home/notify-app/notifications-admin
|
mkdir -p /home/notify-app/notifications-admin
|
||||||
# Remove installed py3 packages
|
|
||||||
pip3 freeze | xargs pip3 uninstall -y
|
|
||||||
else
|
|
||||||
echo "Directory does not exist, something went wrong!"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user