1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Fix warning about variable

This commit is contained in:
Josué Tille 2019-06-07 22:09:00 +02:00
parent 836d8faa0e
commit c8c5118b98
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D

View file

@ -8,10 +8,11 @@ pgadmin_user="pgadmin"
python_version="3.5" python_version="3.5"
dependances="python3-pip build-essential python3-dev python3-venv postgresql uwsgi uwsgi-plugin-python3 expect libpq-dev" dependances="python3-pip build-essential python3-dev python3-venv postgresql uwsgi uwsgi-plugin-python3 expect libpq-dev"
[[ -e "../settings/manifest.json" ]] || [[ -e "../manifest.json" ]] && \ if [[ -e "../settings/manifest.json" ]] || [[ -e "../manifest.json" ]]; then
APP_VERSION=$(ynh_app_upstream_version) APP_VERSION=$(ynh_app_upstream_version)
app_main_version=$(echo $APP_VERSION | cut -d'-' -f1) app_main_version=$(echo $APP_VERSION | cut -d'-' -f1)
app_sub_version=$(echo $APP_VERSION | cut -d'-' -f2) app_sub_version=$(echo $APP_VERSION | cut -d'-' -f2)
fi
#================================================= #=================================================
# DEFINE ALL COMMON FONCTIONS # DEFINE ALL COMMON FONCTIONS