From c09b4d79b518430d2d73cfce16baae3e7e11eb6b Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 26 Jan 2012 21:45:56 -0800 Subject: [PATCH] Don't delete symlinks with maybe_rm. --- src/etc/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/functions.sh b/src/etc/functions.sh index 695439f40..96b65ee55 100644 --- a/src/etc/functions.sh +++ b/src/etc/functions.sh @@ -104,7 +104,7 @@ maybe_rm () DIRS= for FN in "${@}"; do if [ -L "${FN}" ]; then - FILES="${FILES} ${FN}" + : elif [ -f "${FN}" ]; then FILES="${FILES} ${FN}" elif [ -d "${FN}" ]; then -- 2.25.1