refresh 6

This commit is contained in:
n64 committed 2020-02-03 00:51:26 -05:00
1 parent 9273f38df1
commit 9a801cb96d
236 files changed
+17101 -4820

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#!/bin/sh
#
# revert_patch.sh - Reverts an enhancement patch
#
if [ "$#" -ne 1 ]
then
echo "Usage: $0 patch_file"
echo ' Reverts the changes made by an enhancement patch'
exit 1
fi
read -p "Do you wish to revert the patch '$1'? [Y/N] " response
case "$response" in
Y|y)
patch -p1 -R < "$1"
;;
N|n)
echo 'Quit'
exit 1
;;
*)
echo "Invalid response '$response'."
exit 1
;;
esac