[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 # Backup sources & data
ynh_backup "${source_path}addons" "$1${source_path}addons" 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 # Backup configuration
ynh_backup "$conf_file" "$1$conf_file" ynh_backup "$conf_file" "$1$conf_file"