mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Merge pull request #68 from YunoHost-Apps/rm-r
App using rm -rf that was unspotted so far ... to be reported as error by the linter
This commit is contained in:
commit
af80ab0820
1 changed files with 6 additions and 1 deletions
|
@ -123,7 +123,12 @@ ynh_system_user_create --username=$app
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading Searx..." --weight=7
|
ynh_script_progression --message="Upgrading Searx..." --weight=7
|
||||||
|
|
||||||
rm -r $final_path/lib/python2.7/site-packages/setuptools $final_path/lib/python2.7/site-packages/setuptools-*
|
ynh_secure_remove $final_path/lib/python2.7/site-packages/setuptools
|
||||||
|
for FILE in $final_path/lib/python2.7/site-packages/setuptools-*
|
||||||
|
do
|
||||||
|
ynh_secure_remove $FILE
|
||||||
|
done
|
||||||
|
|
||||||
virtualenv --system-site-packages "$final_path"
|
virtualenv --system-site-packages "$final_path"
|
||||||
set +u; source $final_path/bin/activate; set -u
|
set +u; source $final_path/bin/activate; set -u
|
||||||
pip install -U setuptools
|
pip install -U setuptools
|
||||||
|
|
Loading…
Add table
Reference in a new issue