summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-02 17:00:54 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-03-02 17:00:54 -0500
commit8000a583b72ba88c93875f47156eee4586bab571 (patch)
treed60ada6d2b17df29f6c566a05854bfc2850b7f8c
parent46fc358fd7142a927b393dab02ab3c7b0a5427a9 (diff)
Fix uninit prompt to accept 'y' as well as 'yes'. Closes: #517911
-rw-r--r--debian/changelog1
-rwxr-xr-xuninit.d/01prompt2
2 files changed, 2 insertions, 1 deletions
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 <joeyh@debian.org> 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
;;