Initial commit

This commit is contained in:
ariane
2021-03-18 15:42:28 +00:00
committed by root
commit e53cb04f1a
973 changed files with 23055 additions and 0 deletions

20
etckeeper/uninit.d/01prompt Executable file
View File

@@ -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