mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Fix extra slash in install script
This commit is contained in:
parent
824202b3c3
commit
046af1f472
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ trap exit_properly ERR
|
||||||
smtp_password=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d 'A-Za-z0-9' | sed -n 's/\(.\{24\}\).*/\1/p')
|
smtp_password=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d 'A-Za-z0-9' | sed -n 's/\(.\{24\}\).*/\1/p')
|
||||||
sudo useradd -M --shell /bin/false -p $(openssl passwd -1 "$smtp_password") "mattermost"
|
sudo useradd -M --shell /bin/false -p $(openssl passwd -1 "$smtp_password") "mattermost"
|
||||||
sudo yunohost app setting mattermost smtppwd -v "$smtp_password"
|
sudo yunohost app setting mattermost smtppwd -v "$smtp_password"
|
||||||
/
|
|
||||||
# Download and install code
|
# Download and install code
|
||||||
archive_url="https://releases.mattermost.com/${version}/mattermost-team-${version}-linux-amd64.tar.gz"
|
archive_url="https://releases.mattermost.com/${version}/mattermost-team-${version}-linux-amd64.tar.gz"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue