diff options
| author | Joey Hess <joeyh@debian.org> | 2013-07-31 11:33:45 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@debian.org> | 2013-07-31 11:33:45 -0400 |
| commit | fdeec420b54e252e611c353ce39fe61c924e3e7d (patch) | |
| tree | 2a1974e6c8cc56263e3903f49ea2a841ea895c6d /uninit.d/01prompt | |
etckeeper (1.7) unstable; urgency=low
* Fix hilarious typo hardcoding my name. Closes: #718425
# imported from the archive
Diffstat (limited to 'uninit.d/01prompt')
| -rwxr-xr-x | uninit.d/01prompt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/uninit.d/01prompt b/uninit.d/01prompt new file mode 100755 index 0000000..8b43937 --- /dev/null +++ b/uninit.d/01prompt @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +if [ "$1" != "-f" ]; then + echo "** Warning: This will DESTROY all recorded history for $ETCKEEPER_DIR," + echo "** including the $VCS repository." + echo "" + printf "Are you sure you want to do this? [yN] " + read answer + case "$answer" in + [Yy]*) + echo "Proceeding.." + exit 0 + ;; + *) + echo "Aborting etckeeper uninit." + exit 1 + ;; + esac +fi |
