From 8000a583b72ba88c93875f47156eee4586bab571 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 2 Mar 2009 17:00:54 -0500 Subject: Fix uninit prompt to accept 'y' as well as 'yes'. Closes: #517911 --- debian/changelog | 1 + uninit.d/01prompt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index d753c45..1bd56d1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ etckeeper (0.34) UNRELEASED; urgency=low * Add support for mktemp if tempfile is not available. + * Fix uninit prompt to accept 'y' as well as 'yes'. Closes: #517911 -- Joey Hess Sat, 28 Feb 2009 19:53:19 -0500 diff --git a/uninit.d/01prompt b/uninit.d/01prompt index a87defb..23e9637 100755 --- a/uninit.d/01prompt +++ b/uninit.d/01prompt @@ -7,7 +7,7 @@ echo "" printf "Are you sure you want to do this? [yN] " read answer case "$answer" in - [Yy][Ee][Ss]) + [Yy]*) echo "Proceeding.." exit 0 ;; -- cgit v1.2.3