mirror of
https://github.com/YunoHost-Apps/dotclear2_ynh.git
synced 2024-09-03 18:26:29 +02:00
fix install
This commit is contained in:
parent
99cd173bbe
commit
07ba6beac5
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,11 @@ source /usr/share/yunohost/helpers
|
||||||
ynh_script_progression --message="Setting up source files..." --weight=4
|
ynh_script_progression --message="Setting up source files..." --weight=4
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
_ynh_setup_source_with_fallback
|
if _check_if_source_available main; then
|
||||||
|
ynh_setup_source --dest_dir="$install_dir" -s main
|
||||||
|
else
|
||||||
|
ynh_setup_source --dest_dir="$install_dir" -s main_attic
|
||||||
|
fi
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
Loading…
Reference in a new issue