Added restore custom code

This commit is contained in:
zeldaroot 2019-11-07 04:02:14 +02:00
parent f65134151e
commit 7e2a64061b
2 changed files with 2 additions and 0 deletions

View File

@ -1428,6 +1428,8 @@ docker_restore() {
tar -xf /var/${CP_DOMAIN}/config.tar && \
tar --exclude=themes/default/views/desktop \
-xf /var/${CP_DOMAIN}/themes.tar
mkdir -p /home/${CP_DOMAIN}/config/custom
cp -rf /home/${CP_DOMAIN}/config/custom/* /home/${CP_DOMAIN}/
docker_start
}
docker_backup() {

0
config/custom/.gitkeep Normal file
View File