From 496ab8df799e298af5543b7ca46a6b7b7b68101a Mon Sep 17 00:00:00 2001 From: KM4ACK Date: Sat, 7 Aug 2021 12:14:26 -0500 Subject: [PATCH] initial commit --- patch/test2-patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 patch/test2-patch diff --git a/patch/test2-patch b/patch/test2-patch new file mode 100644 index 0000000..867fc08 --- /dev/null +++ b/patch/test2-patch @@ -0,0 +1,28 @@ +#!/bin/bash + +#This test-patch script should serve as a +#template for future patch scripts. +#20210805 KM4ACK + +#Give this patch a unique name. A good idea is +#to give it the application name that is being +#patched followed by the date. ie FLDIDI20210805 + +PATCHNAME=test-patch20210807 + +PATCHFILE=$HOME/.config/patch +touch $PATCHFILE +############################### +#Patch script commands go here# +############################### +clear;echo;echo +echo "This is a test patch" + + +############################################# +#write patch name to a file so we can # +#look and see if it has been applied before.# +#This is checked by the patch-menu script # +#before running the patch # +############################################# +echo "$PATCHNAME" >> $PATCHFILE