mirror of
https://github.com/YunoHost-Apps/epicyon_ynh.git
synced 2024-09-03 18:36:08 +02:00
try to fix missing dir
This commit is contained in:
parent
e181b3cf6f
commit
1512d0c4ab
2 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir/source"
|
||||
|
||||
mkdir -p "$install_dir/accounts/newsmirror"
|
||||
mkdir -p "$install_dir/source/accounts/newsmirror"
|
||||
ln -s "$install_dir/source/accounts/newsmirror" "$install_dir/newsmirror"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
|
@ -24,7 +24,7 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir/source" --full_replace=1
|
||||
ynh_setup_source --dest_dir="$install_dir/source" --full_replace=1 --keep="accounts/newsmirror"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue