1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00
This commit is contained in:
Salamandar 2024-01-30 11:37:53 +01:00
parent 205b0028dc
commit bb3b233539

View file

@ -1,3 +1,5 @@
#!/usr/bin/env bash
#================================================= #=================================================
# SET ALL CONSTANTS # SET ALL CONSTANTS
#================================================= #=================================================
@ -19,15 +21,15 @@ setup_dir() {
} }
install_source() { install_source() {
# Clean venv is it was on python with an old version in case major upgrade of debian # # Clean venv is it was on python with an old version in case major upgrade of debian
if [ ! -e $install_dir/lib/python$python_version ]; then # if [ ! -e $install_dir/lib/python$python_version ]; then
#REMOVEME? ynh_secure_remove --file=$install_dir/bin # #REMOVEME? ynh_secure_remove --file=$install_dir/bin
#REMOVEME? ynh_secure_remove --file=$install_dir/lib # #REMOVEME? ynh_secure_remove --file=$install_dir/lib
#REMOVEME? ynh_secure_remove --file=$install_dir/lib64 # #REMOVEME? ynh_secure_remove --file=$install_dir/lib64
#REMOVEME? ynh_secure_remove --file=$install_dir/include # #REMOVEME? ynh_secure_remove --file=$install_dir/include
#REMOVEME? ynh_secure_remove --file=$install_dir/share # #REMOVEME? ynh_secure_remove --file=$install_dir/share
#REMOVEME? ynh_secure_remove --file=$install_dir/pyvenv.cfg # #REMOVEME? ynh_secure_remove --file=$install_dir/pyvenv.cfg
fi # fi
mkdir -p $install_dir mkdir -p $install_dir
chown $app:root -R $install_dir chown $app:root -R $install_dir