1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Adding remove step to remove python and dependencies

This commit is contained in:
yalh76 2019-02-14 21:27:21 +01:00
parent 4ec77c8cb9
commit 2283b11a70

View file

@ -40,6 +40,22 @@ ynh_print_info "Stopping and removing the service"
# Remove the dedicated systemd config # Remove the dedicated systemd config
ynh_remove_systemd_config ynh_remove_systemd_config
#=================================================
# REMOVE YUNORUNNER DEPENDENCIES
#=================================================
pushd $final_path
ve3/bin/pip3 uninstall -y -r requirements.txt
popd
/var/www/yunorunner/.pythonz/bin/pythonz install 3.6.6
#=================================================
# REMOVE PYTHON 3.6 AND PYTHONZ
#=================================================
$final_path/.pythonz/bin/pythonz uninstall 3.6.6
$final_path/.pythonz/bin/pythonz cleanup
#================================================= #=================================================
# REMOVE DEPENDENCIES # REMOVE DEPENDENCIES
#================================================= #=================================================