1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00

[enh] Backup oca addons

This commit is contained in:
ljf 2017-06-25 19:16:49 +02:00
parent 76a2f2bd3d
commit 9a008bbd67

View file

@ -15,6 +15,8 @@ define_paths
# Backup sources & data
ynh_backup "${source_path}addons" "$1${source_path}addons"
mkdir -p /opt/odoo-oca-addons
ynh_backup "/opt/odoo-oca-addons" "$1/opt/odoo-oca-addons"
# Backup configuration
ynh_backup "$conf_file" "$1$conf_file"