mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
fix
This commit is contained in:
parent
f2dd7a9627
commit
ed9bce3f0b
3 changed files with 4 additions and 7 deletions
|
@ -24,9 +24,6 @@ ynh_backup --src_path="$install_dir"
|
|||
ynh_backup --src_path="/etc/opt/simplex"
|
||||
ynh_backup --src_path="/etc/opt/simplex-xftp"
|
||||
|
||||
ynh_backup --src_path="/var/opt/simplex"
|
||||
ynh_backup --src_path="/var/opt/simplex-xftp"
|
||||
|
||||
#=================================================
|
||||
# BACKUP SYSTEMD
|
||||
#=================================================
|
||||
|
|
|
@ -25,8 +25,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
ynh_setup_source --dest_dir="$install_dir"
|
||||
ynh_setup_source --dest_dir="$install_dir" --source_id="xftp"
|
||||
|
||||
mkdir -p /var/opt/simplex-xftp /var/opt/simplex /etc/opt/simplex-xftp /etc/opt/simplex
|
||||
chown -R $app:$app /var/opt/simplex-xftp /var/opt/simplex /etc/opt/simplex-xftp /etc/opt/simplex
|
||||
mkdir -p /etc/opt/simplex-xftp /etc/opt/simplex #/var/opt/simplex-xftp /var/opt/simplex
|
||||
chown -R $app:$app /etc/opt/simplex-xftp /etc/opt/simplex #/var/opt/simplex-xftp /var/opt/simplex
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:$app "$install_dir"
|
||||
|
|
|
@ -48,8 +48,8 @@ then
|
|||
ynh_setup_source --dest_dir="$install_dir" --source_id="xftp"
|
||||
fi
|
||||
|
||||
mkdir -p /var/opt/simplex-xftp /etc/opt/simplex-xftp
|
||||
chown -R $app:$app /var/opt/simplex-xftp /etc/opt/simplex-xftp
|
||||
mkdir -p /etc/opt/simplex-xftp #/var/opt/simplex-xftp
|
||||
chown -R $app:$app /etc/opt/simplex-xftp #/var/opt/simplex-xftp
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue