mirror of
https://github.com/YunoHost-Apps/pgadmin_ynh.git
synced 2024-09-03 19:56:38 +02:00
Merge branch 'testing'
This commit is contained in:
commit
0bbbe8a5da
1 changed files with 6 additions and 0 deletions
|
@ -28,6 +28,11 @@ setup_dir() {
|
||||||
install_source() {
|
install_source() {
|
||||||
if [ -n "$(uname -m | grep arm)" ]
|
if [ -n "$(uname -m | grep arm)" ]
|
||||||
then
|
then
|
||||||
|
# Clean old file, sometime it could make some big issues if we don't do this !!
|
||||||
|
ynh_secure_remove --file=$final_path/bin
|
||||||
|
ynh_secure_remove --file=$final_path/lib
|
||||||
|
ynh_secure_remove --file=$final_path/include
|
||||||
|
ynh_secure_remove --file=$final_path/share
|
||||||
ynh_setup_source --dest_dir $final_path/ --source_id "armv7_stretch"
|
ynh_setup_source --dest_dir $final_path/ --source_id "armv7_stretch"
|
||||||
else
|
else
|
||||||
# Install virtualenv if it don't exist
|
# Install virtualenv if it don't exist
|
||||||
|
@ -38,6 +43,7 @@ install_source() {
|
||||||
cp ../conf/virtualenv_activate $final_path/bin/activate
|
cp ../conf/virtualenv_activate $final_path/bin/activate
|
||||||
source $final_path/bin/activate
|
source $final_path/bin/activate
|
||||||
pip3 install --upgrade pip
|
pip3 install --upgrade pip
|
||||||
|
pip3 install --upgrade 'Werkzeug<1.0'
|
||||||
pip3 install --upgrade https://ftp.postgresql.org/pub/pgadmin/pgadmin$app_main_version/v$app_sub_version/pip/pgadmin${APP_VERSION}-py2.py3-none-any.whl
|
pip3 install --upgrade https://ftp.postgresql.org/pub/pgadmin/pgadmin$app_main_version/v$app_sub_version/pip/pgadmin${APP_VERSION}-py2.py3-none-any.whl
|
||||||
deactivate
|
deactivate
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue