mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
fix
This commit is contained in:
parent
18127c7eaf
commit
02c7d0b439
3 changed files with 3 additions and 4 deletions
|
@ -18,7 +18,7 @@ cpe = "cpe:2.3:a:simplex:simplex_chat"
|
||||||
fund = "https://opencollective.com/simplex-chat"
|
fund = "https://opencollective.com/simplex-chat"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.19"
|
yunohost = ">= 11.1.21"
|
||||||
architectures = ["amd64", "arm64"]
|
architectures = ["amd64", "arm64"]
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
ldap = "not_relevant"
|
ldap = "not_relevant"
|
||||||
|
|
|
@ -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"
|
||||||
ynh_setup_source --dest_dir="$install_dir" --source_id="xftp"
|
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
|
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
|
chown -R $app:$app /etc/opt/simplex-xftp /etc/opt/simplex /var/opt/simplex-xftp /var/opt/simplex
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:$app "$install_dir"
|
chown -R $app:$app "$install_dir"
|
||||||
|
|
|
@ -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"
|
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"
|
chown -R $app:$app "/etc/opt/simplex-xftp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue