mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
chore: Fix linting and formatting
This commit is contained in:
parent
c6abe03628
commit
ed9032c8c8
1 changed files with 32 additions and 32 deletions
|
|
@ -157,12 +157,12 @@ doctor)
|
|||
exit
|
||||
;;
|
||||
|
||||
backup)
|
||||
backup)
|
||||
if [[ -n $WITH_FILES ]]; then
|
||||
WITH_FILES=--with-files
|
||||
fi
|
||||
|
||||
for site in ${$SITES//:/ }; do
|
||||
for site in ${SITES//:/ }; do
|
||||
bench --site $site backup $WITH_FILES
|
||||
done
|
||||
;;
|
||||
|
|
@ -177,16 +177,16 @@ console)
|
|||
bench --site "$2" console
|
||||
;;
|
||||
|
||||
push-backup)
|
||||
push-backup)
|
||||
/home/frappe/frappe-bench/env/bin/python /home/frappe/frappe-bench/commands/push_backup.py
|
||||
exit
|
||||
;;
|
||||
|
||||
restore-backup)
|
||||
restore-backup)
|
||||
/home/frappe/frappe-bench/env/bin/python /home/frappe/frappe-bench/commands/restore_backup.py
|
||||
exit
|
||||
;;
|
||||
*)
|
||||
*)
|
||||
exec "$@"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue