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

Fix package for Stretch and PHP7

Mysqln requirement removed from app (was previously removed in app)
This commit is contained in:
tituspijean 2018-07-26 17:58:16 +02:00
parent f8c2bbd1f0
commit d9d33158ea
5 changed files with 5 additions and 21 deletions

View file

@ -6,7 +6,7 @@
"en": "Owntracks (location history) package for YunoHost.", "en": "Owntracks (location history) package for YunoHost.",
"fr": "Package Owntracks (historique de localisation) pour YunoHost." "fr": "Package Owntracks (historique de localisation) pour YunoHost."
}, },
"version": "v0.1-beta.8", "version": "0.1-beta.8",
"url": "http://owntracks.org/", "url": "http://owntracks.org/",
"license": "free", "license": "free",
"maintainer": { "maintainer": {

View file

@ -6,12 +6,7 @@
# IMPORT GENERIC HELPERS # IMPORT GENERIC HELPERS
#================================================= #=================================================
if [ ! -e _common.sh ]; then source ../settings/scripts/_common.sh
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
chmod a+rx _common.sh
fi
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================

View file

@ -59,12 +59,6 @@ ynh_app_setting_set $app path $path_url
#================================================= #=================================================
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_install_app_dependencies php5-mysqlnd
#================================================= #=================================================
# CREATE A MYSQL DATABASE # CREATE A MYSQL DATABASE
#================================================= #=================================================

View file

@ -6,12 +6,7 @@
# IMPORT GENERIC HELPERS # IMPORT GENERIC HELPERS
#================================================= #=================================================
if [ ! -e _common.sh ]; then source ../settings/scripts/_common.sh
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
chmod a+rx _common.sh
fi
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================

View file

@ -89,7 +89,7 @@ ynh_add_fpm_config
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================
# ... # MODIFY A CONFIG FILE
#================================================= #=================================================
ynh_replace_string "__USER__" "$app" "$final_path/config.inc.php" ynh_replace_string "__USER__" "$app" "$final_path/config.inc.php"