chore: Fix linting and formatting

This commit is contained in:
Lev 2021-11-09 02:15:36 +03:00
parent c6abe03628
commit ed9032c8c8

View file

@ -157,12 +157,12 @@ doctor)
exit exit
;; ;;
backup) backup)
if [[ -n $WITH_FILES ]]; then if [[ -n $WITH_FILES ]]; then
WITH_FILES=--with-files WITH_FILES=--with-files
fi fi
for site in ${$SITES//:/ }; do for site in ${SITES//:/ }; do
bench --site $site backup $WITH_FILES bench --site $site backup $WITH_FILES
done done
;; ;;
@ -177,16 +177,16 @@ console)
bench --site "$2" console bench --site "$2" console
;; ;;
push-backup) push-backup)
/home/frappe/frappe-bench/env/bin/python /home/frappe/frappe-bench/commands/push_backup.py /home/frappe/frappe-bench/env/bin/python /home/frappe/frappe-bench/commands/push_backup.py
exit exit
;; ;;
restore-backup) restore-backup)
/home/frappe/frappe-bench/env/bin/python /home/frappe/frappe-bench/commands/restore_backup.py /home/frappe/frappe-bench/env/bin/python /home/frappe/frappe-bench/commands/restore_backup.py
exit exit
;; ;;
*) *)
exec "$@" exec "$@"
;; ;;
esac esac