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:
parent
836d8faa0e
commit
c8c5118b98
1 changed files with 4 additions and 3 deletions
|
@ -8,10 +8,11 @@ pgadmin_user="pgadmin"
|
|||
python_version="3.5"
|
||||
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_main_version=$(echo $APP_VERSION | cut -d'-' -f1)
|
||||
app_sub_version=$(echo $APP_VERSION | cut -d'-' -f2)
|
||||
app_main_version=$(echo $APP_VERSION | cut -d'-' -f1)
|
||||
app_sub_version=$(echo $APP_VERSION | cut -d'-' -f2)
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# DEFINE ALL COMMON FONCTIONS
|
||||
|
|
Loading…
Add table
Reference in a new issue