From 09f1789a53e5c9dc179a50d7b752d698ba707229 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Wed, 30 Jun 2021 14:59:54 +0200 Subject: [PATCH] Release 2.11.0 --- CHANGELOG.md | 16 ++++++++++------ lib/bkctld-archive | 6 +++--- lib/bkctld-remove | 6 +++--- lib/includes | 2 +- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c3b3ff..9a71fa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,20 +10,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -* bkctld-archive: confirmation defaults to 'No' -* bkctld-remove: confirmation defaults to 'No' -* bkctld-remove: remove config directory - ### Deprecated ### Removed ### Fixed -* force flag must be exported - ### Security +## [2.11.0] - 2021-06-29 + +### Changed + +* bkctld-remove: remove config directory + +### Fixed + +* force flag must be exported + ## [2.10.0] - 2021-06-29 ### Added diff --git a/lib/bkctld-archive b/lib/bkctld-archive index 9d279a3..abf179d 100755 --- a/lib/bkctld-archive +++ b/lib/bkctld-archive @@ -24,13 +24,13 @@ test -d "${archive_jail_path}" && error "${jail_name}: archive already exists" 2 if [ "${FORCE}" != "1" ]; then answer="" while :; do - printf "> Are you sure you want to archive jail \`%s'? [y,N,?] " "${jail_name}" + printf "> Are you sure you want to archive jail \`%s'? [Y,n,?] " "${jail_name}" read -r answer case $answer in - [Yy] ) + [Yy]|"" ) break ;; - [Nn]|"" ) + [Nn] ) tty -s && echo "Abort." >&2 exit 101 ;; diff --git a/lib/bkctld-remove b/lib/bkctld-remove index 0913b50..dab3b6c 100755 --- a/lib/bkctld-remove +++ b/lib/bkctld-remove @@ -28,13 +28,13 @@ fi if [ "${FORCE}" != "1" ]; then answer="" while :; do - printf "> Are you sure you want to delete jail \`%s'? [y,N,?] " "${jail_name}" + printf "> Are you sure you want to delete jail \`%s'? [Y,n,?] " "${jail_name}" read -r answer case $answer in - [Yy] ) + [Yy]|"" ) break ;; - [Nn]|"" ) + [Nn] ) tty -s && echo "Abort." >&2 exit 101 ;; diff --git a/lib/includes b/lib/includes index 93d83ba..a8a5bb4 100755 --- a/lib/includes +++ b/lib/includes @@ -6,7 +6,7 @@ [ -f /etc/default/bkctld ] && . /etc/default/bkctld -VERSION="2.10.0" +VERSION="2.11.0" LIBDIR=${LIBDIR:-/usr/lib/bkctld} CONFDIR="${CONFDIR:-/etc/evobackup}"