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:
parent
4ec77c8cb9
commit
2283b11a70
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue