fix: installation dir
This commit is contained in:
parent
d34110fe11
commit
3185a61c22
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue