mirror of
https://github.com/YunoHost-Apps/simple-torrent_ynh.git
synced 2024-09-03 20:26:18 +02:00
fix
This commit is contained in:
parent
87ce4467ef
commit
6e305ff9aa
3 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,8 @@ pushd "$install_dir"
|
||||||
mv $YNH_ARCH $app
|
mv $YNH_ARCH $app
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
chmod 750 "$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/$app
|
chmod +x $install_dir/$app
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,8 @@ ynh_script_progression --message="Restoring $app main directory..." --weight=4
|
||||||
|
|
||||||
ynh_restore_file --origin_path="$install_dir"
|
ynh_restore_file --origin_path="$install_dir"
|
||||||
|
|
||||||
|
chmod 750 "$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/$app
|
chmod +x $install_dir/$app
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,8 @@ then
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chmod 750 "$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/$app
|
chmod +x $install_dir/$app
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue