fix: installation dir

This commit is contained in:
Aliberk Sandıkçı 2023-12-20 12:56:58 +03:00
parent d34110fe11
commit 3185a61c22
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -15,11 +15,12 @@ source /usr/share/yunohost/helpers
ynh_script_progression --message="Setting up source files..." --weight=7 ynh_script_progression --message="Setting up source files..." --weight=7
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
install_dir="${install_dir}/../"
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
mkdir "$install_dir/storage" # mkdir "$install_dir/storage"
chmod -R 770 "$install_dir/storage" chmod -R 770 "$install_dir/storage"
#================================================= #=================================================