Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > 1667c8ea70e0b665a2e26660748536e6 > files > 42

etckeeper-1.4-1.fc17.noarch.rpm

#!/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