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:
parent
d89bce8d36
commit
5007dcc9fb
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue