Add .editorconfig and correct indentation for many seqs

This commit is contained in:
2022-03-14 21:27:29 +01:00
parent bb8b54597a
commit 71612aef94
34 changed files with 178 additions and 164 deletions

6
.editorconfig Normal file
View File

@@ -0,0 +1,6 @@
root = true
[*.{sh,cfg,example}]
charset = utf-8
indent_style = space
indent_size = 2

View File

@@ -53,7 +53,8 @@ step_3() {
exe adduser --system $DLD_USER --group --home "${DLD_CONFDIR}"
}
step_4_info() { echo "Install sonarr"
step_4_info() {
echo "Install sonarr"
echoinfo "Default port: 8989"
}
step_4() {

View File

@@ -154,7 +154,8 @@ SyslogIdentifier=synapse
[Install]
WantedBy=multi-user.target"
step_10_info() { echo -n "Upgrade $toolName installation"
step_10_info() {
echo -n "Upgrade $toolName installation"
if [ $CONTEXT_HELP -eq 0 ] ; then
echo " at $MATRIX_HOME"
else

View File

@@ -82,8 +82,10 @@ listen 80 default_server;
include ${snippetLetsencryptLoc};
}"
step_4_info() { echo "Installation of $phpName packages:"
echoinfo "$phpPackages"; }
step_4_info() {
echo "Installation of $phpName packages:"
echoinfo "$phpPackages"
}
step_4_alias() { ALIAS="php"; }
step_4() {
exe apt install $(eval echo $phpPackages) $aptOpt

View File

@@ -6,8 +6,10 @@ phpVersion="7.3"
phpName="php$phpVersion"
phpPackages="${phpName}-fpm ${phpName}-json ${phpName}-mysql ${phpName}-curl ${phpName}-intl ${phpName}-gd ${phpName}-zip ${phpName}-xml ${phpName}-mbstring php-imagick php-apcu"
step_1_info() { echo "Installation of $serverName packages:"
echoinfo "$serverPackages"; }
step_1_info() {
echo "Installation of $serverName packages:"
echoinfo "$serverPackages"
}
step_1_alias() { ALIAS="install"; }
step_1() {
exe apt update
@@ -50,8 +52,10 @@ siteDefaultIp4="server {
include ${snippetLetsencryptLoc};
}"
step_3_info() { echo "Installation of $phpName packages:"
echoinfo "$phpPackages"; }
step_3_info() {
echo "Installation of $phpName packages:"
echoinfo "$phpPackages"
}
step_3() {
exe apt install $phpPackages
endReturn -o $? "$phpName error during startup"