lollms/scripts/linux/uninstall.sh

16 lines
381 B
Bash
Raw Normal View History

2023-10-22 14:23:45 +00:00
#!/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