mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
fix
This commit is contained in:
parent
2eda6cacc7
commit
a7b0a226e5
3 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
||||||
# Download, check integrity, uncompress and patch the source from manifest.toml
|
# Download, check integrity, uncompress and patch the source from manifest.toml
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x "$install_dir/hbbr"
|
chmod +x "$install_dir/hbbr"
|
||||||
chmod +x "$install_dir/hbbs"
|
chmod +x "$install_dir/hbbs"
|
||||||
|
|
|
@ -17,6 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
||||||
|
|
||||||
ynh_restore_file --origin_path="$install_dir"
|
ynh_restore_file --origin_path="$install_dir"
|
||||||
|
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x "$install_dir/hbbr"
|
chmod +x "$install_dir/hbbr"
|
||||||
chmod +x "$install_dir/hbbs"
|
chmod +x "$install_dir/hbbs"
|
||||||
|
|
|
@ -33,6 +33,7 @@ then
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x "$install_dir/hbbr"
|
chmod +x "$install_dir/hbbr"
|
||||||
chmod +x "$install_dir/hbbs"
|
chmod +x "$install_dir/hbbs"
|
||||||
|
|
Loading…
Reference in a new issue