Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HaiSoft (public)
Plesk - Mail Autoconfig
Commits
fabc401d
Unverified
Commit
fabc401d
authored
Jun 01, 2018
by
MegaS0ra
Committed by
GitHub
Jun 01, 2018
Browse files
Fixed bug when language choosed for applewebpagelanguage is not available
parent
4e69f785
Changes
1
Hide whitespace changes
Inline
Side-by-side
plesk_mail_autoconfig.sh
View file @
fabc401d
...
...
@@ -202,6 +202,9 @@ if [ ${applewebpagelanguage} = fr ]; then
curl
"https://raw.githubusercontent.com/
${
gituser
}
/
${
gitrepo
}
/
${
gitbranch
}
/apple_fr.xml"
>
"
${
applewebpagepath
}
"
elif
[
${
applewebpagelanguage
}
=
en
]
;
then
curl
"https://raw.githubusercontent.com/
${
gituser
}
/
${
gitrepo
}
/
${
gitbranch
}
/apple_en.xml"
>
"
${
applewebpagepath
}
"
else
fn_logecho
"[ Warning ] Selected language
${
applewebpagelanguage
}
is not available. Reverting to english."
curl
"https://raw.githubusercontent.com/
${
gituser
}
/
${
gitrepo
}
/
${
gitbranch
}
/apple_en.xml"
>
"
${
applewebpagepath
}
"
fi
curl
"https://raw.githubusercontent.com/
${
gituser
}
/
${
gitrepo
}
/
${
gitbranch
}
/apple.mobileconfig"
>
"
${
applemobileconfpathfile
}
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment