Give notification before applying local-patch/*.remove.
authorW. Trevor King <wking@drexel.edu>
Thu, 1 Dec 2011 13:18:21 +0000 (08:18 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 1 Dec 2011 13:18:21 +0000 (08:18 -0500)
dotfiles.sh

index b66059620768bfe43ea3e9a227d15ccafb3fa0c0..6571f98e505c4a758d8c5e12263d33b09c04fbe6 100755 (executable)
@@ -460,6 +460,7 @@ function patch()
        # remove any files marked for removal in local-patch
        for REMOVE in "${REPO}/local-patch"/*.remove; do
                if [ -f "${REMOVE}" ]; then
        # remove any files marked for removal in local-patch
        for REMOVE in "${REPO}/local-patch"/*.remove; do
                if [ -f "${REMOVE}" ]; then
+                       echo "apply ${FILE}"
                        while read LINE; do
                                if [ -z "${LINE}" ] || [ "${LINE:0:1}" = '#' ]; then
                                        continue  # ignore blank lines and comments
                        while read LINE; do
                                if [ -z "${LINE}" ] || [ "${LINE:0:1}" = '#' ]; then
                                        continue  # ignore blank lines and comments