mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Put variables in _common.sh
This commit is contained in:
parent
8874807ebd
commit
026ecbefd1
7 changed files with 34 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#=================================================
|
||||
|
||||
# Load common variables for all scripts.
|
||||
source ../settings/scripts/_variables
|
||||
|
||||
source ../settings/scripts/_common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#=================================================
|
||||
|
||||
# Load common variables for all scripts.
|
||||
source _variables
|
||||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue