diff --git a/scripts/install b/scripts/install index d1633d5..55cd2bd 100644 --- a/scripts/install +++ b/scripts/install @@ -22,7 +22,7 @@ sudo yunohost app setting ffsync mysqlpwd -v $db_pwd # Generate random password and save secret=$(head -c 20 /dev/urandom | sha1sum | cut -d " " -f1) -sudo yunohost app setting $app secret -v $secret +sudo yunohost app setting ffsync secret -v $secret # Check depends installation sudo apt-get install make python-dev python-virtualenv -y diff --git a/scripts/upgrade b/scripts/upgrade index 73a0ef2..396f0c9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -13,7 +13,7 @@ secret=$(sudo yunohost app setting ffsync secret) if [[ -z $secret ]] then secret=$(sudo grep "secret =" $final_path/syncserver.ini | cut -d" " -f3) - sudo yunohost app setting $app secret -v $secret + sudo yunohost app setting ffsync secret -v $secret fi # Check Swap