diff --git a/manifest.json b/manifest.json index 95731c8..b2f0993 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Owntracks (location history) package for YunoHost.", "fr": "Package Owntracks (historique de localisation) pour YunoHost." }, - "version": "v0.1-beta.8", + "version": "0.1-beta.8", "url": "http://owntracks.org/", "license": "free", "maintainer": { @@ -45,4 +45,4 @@ } ] } -} \ No newline at end of file +} diff --git a/scripts/backup b/scripts/backup index aa59f65..20b7b45 100644 --- a/scripts/backup +++ b/scripts/backup @@ -6,12 +6,7 @@ # IMPORT GENERIC HELPERS #================================================= -if [ ! -e _common.sh ]; then - # 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 ../settings/scripts/_common.sh source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/install b/scripts/install index 179565b..826cf15 100644 --- a/scripts/install +++ b/scripts/install @@ -59,12 +59,6 @@ ynh_app_setting_set $app path $path_url #================================================= # STANDARD MODIFICATIONS -#================================================= -# INSTALL DEPENDENCIES -#================================================= - -ynh_install_app_dependencies php5-mysqlnd - #================================================= # CREATE A MYSQL DATABASE #================================================= diff --git a/scripts/restore b/scripts/restore index e755eea..7f92a73 100644 --- a/scripts/restore +++ b/scripts/restore @@ -6,12 +6,7 @@ # IMPORT GENERIC HELPERS #================================================= -if [ ! -e _common.sh ]; then - # 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 ../settings/scripts/_common.sh source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index c05773e..d81cac6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,7 +89,7 @@ ynh_add_fpm_config #================================================= # SPECIFIC UPGRADE #================================================= -# ... +# MODIFY A CONFIG FILE #================================================= ynh_replace_string "__USER__" "$app" "$final_path/config.inc.php"