1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/restic_ynh.git synced 2024-09-03 20:16:22 +02:00
restic_ynh/conf/backup-with-restic-answerbot.j2
2020-02-23 12:02:10 +01:00

6 lines
216 B
Django/Jinja

#!/usr/bin/expect -f
set timeout -1
spawn /usr/local/bin/backup-with-{{ app }}
expect -re "Some files couldn't be prepared.*Do you agree?"
send -- "{% if allow_extra_space_use %}y{% else %}n{% endif %}\r"
expect eof