1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simplex_ynh.git synced 2024-09-03 20:26:28 +02:00
This commit is contained in:
Éric Gaspar 2023-06-20 09:34:25 +02:00
parent 18127c7eaf
commit 02c7d0b439
3 changed files with 3 additions and 4 deletions

View file

@ -18,7 +18,7 @@ cpe = "cpe:2.3:a:simplex:simplex_chat"
fund = "https://opencollective.com/simplex-chat"
[integration]
yunohost = ">= 11.1.19"
yunohost = ">= 11.1.21"
architectures = ["amd64", "arm64"]
multi_instance = false
ldap = "not_relevant"

View file

@ -25,8 +25,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir"
ynh_setup_source --dest_dir="$install_dir" --source_id="xftp"
mkdir -p /etc/opt/simplex-xftp /etc/opt/simplex #/var/opt/simplex-xftp /var/opt/simplex
chown -R $app:$app /etc/opt/simplex-xftp /etc/opt/simplex #/var/opt/simplex-xftp /var/opt/simplex
mkdir -p /etc/opt/simplex-xftp /etc/opt/simplex /var/opt/simplex-xftp /var/opt/simplex
chown -R $app:$app /etc/opt/simplex-xftp /etc/opt/simplex /var/opt/simplex-xftp /var/opt/simplex
chmod -R o-rwx "$install_dir"
chown -R $app:$app "$install_dir"

View file

@ -73,7 +73,6 @@ if [ -z "/etc/opt/simplex-xftp/fingerprint" ]; then
ynh_replace_string --match_string="port: 443" --replace_string="port: $port_xftp" --target_file="/etc/opt/simplex-xftp/file-server.ini"
chown -R $app:$app "/etc/opt/simplex"
chown -R $app:$app "/etc/opt/simplex-xftp"
fi