diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cbdcf2..2c08a69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,6 @@ Changelog #### Disabled * [ep_automatic_logut plugin](https://github.com/YunoHost-Apps/etherpad_mypads_ynh/pull/140/files) - ## [1.8.13~ynh1]() - 2021-03-23 #### Changed diff --git a/scripts/_common.sh b/scripts/_common.sh index b90154c..da816cd 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,5 +1,39 @@ #!/bin/bash +#================================================= +# COMMON VARIABLES +#================================================= + +#!/bin/bash + +# Dependencies for AbiWord +abiword_app_depencencies="abiword" + +# Dependencies for LibreOffice +libreoffice_app_dependencies="unoconv libreoffice-writer" + +# NodeJS version +nodejs_version=14 + +# MyPads version +# This variable is mostly used to force an upgrade of the package in case of new versions of MyPads. +mypads_version=1.7.21 + +# Plugin versions +ep_align_version=0.3.34 +ep_author_hover_version=0.3.19 +ep_comments_page_version=0.1.60 +ep_countable_version=0.0.11 +ep_delete_empty_pads_version=0.0.7 +ep_font_color_version=0.0.43 +ep_headings2_version=0.2.29 +ep_markdown_version=0.1.32 +ep_page_view_version=0.5.24 +ep_spellcheck_version=0.0.27 +ep_subscript_and_superscript_version=0.2.27 +ep_table_of_contents_version=0.3.20 +ep_font_size_version=0.4.23 + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/actions/add_remove_abiword b/scripts/actions/add_remove_abiword index 771434a..28fb0ea 100755 --- a/scripts/actions/add_remove_abiword +++ b/scripts/actions/add_remove_abiword @@ -67,9 +67,6 @@ fi ynh_script_progression --message="$action2 AbiWord..." --weight=3 -# Load common variables, and especially Abiword dependencies. -source scripts/_variables - dependencies="" if [ $abiword -eq 1 ] then diff --git a/scripts/actions/add_remove_libreoffice b/scripts/actions/add_remove_libreoffice index 19d5788..9acfb46 100755 --- a/scripts/actions/add_remove_libreoffice +++ b/scripts/actions/add_remove_libreoffice @@ -67,9 +67,6 @@ fi ynh_script_progression --message="$action2 LibreOffice..." --weight=3 -# Load common variables, and especially LibreOffice dependencies. -source scripts/_variables - dependencies="" if [ $libreoffice -eq 1 ] then diff --git a/scripts/install b/scripts/install index 94018b1..d7c344c 100644 --- a/scripts/install +++ b/scripts/install @@ -11,7 +11,6 @@ if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then fi # Load common variables for all scripts. -source _variables source _common.sh source /usr/share/yunohost/helpers diff --git a/scripts/restore b/scripts/restore index 49073ed..3234f0e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -7,8 +7,6 @@ #================================================= # Load common variables for all scripts. -source ../settings/scripts/_variables - source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers diff --git a/scripts/upgrade b/scripts/upgrade index e2f0fe2..f5929d6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -7,7 +7,6 @@ #================================================= # Load common variables for all scripts. -source _variables source _common.sh source /usr/share/yunohost/helpers