1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pluxml_ynh.git synced 2024-09-03 20:16:02 +02:00

[fix] remove bad substitution

This causes the following error :
install: line 13: ${$domain%?}: bad substitution

I guess the intended subtitution was :
  domain=${domain%?}
instead, which removes the last character of domain, and thus is wrong.
This commit is contained in:
Julien Malik 2014-11-17 13:56:51 +01:00 committed by Moul
parent d89bce8d36
commit 5007dcc9fb

View file

@ -10,9 +10,6 @@ password=$4
is_public=$5
default_lang=$6
domain=${$domain%?}
# Check domain/path availability
sudo yunohost app checkurl $domain$path -a $app
if [[ ! $? -eq 0 ]]; then
@ -73,4 +70,4 @@ sudo yunohost app addaccess $app -u $admin
sudo rm -f $final_path/install.php
# Restart services
sudo service nginx reload
sudo yunohost app ssowatconf
sudo yunohost app ssowatconf