lollms-webui/scripts/uninstall.sh
2023-08-30 20:38:31 +02:00

16 lines
381 B
Bash

#!/bin/bash
echo "This will uninstall the environment. Are you sure? [Y/N]"
read choice
if [[ "$choice" =~ [yY] ]]; then
# Download Python installer
printf "Removing virtual environment..."
rm -rf env
echo "OK"
read -p "Press [Enter] to continue..."
else
echo "Please install Python and try again."
read -p "Press [Enter] to continue..."
exit 1
fi