aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-05-14 11:29:18 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-05-14 11:29:18 +0000
commit92a2f130a3840c3f77b2f2a6703b46c47b7d0f75 (patch)
tree8dcdaf40b5c05df1e704351b8b5854579665c5bc /Keywords
parentf601c9b0e5747e63d479a50201b1e90358cd23df (diff)
downloadports-92a2f130a3840c3f77b2f2a6703b46c47b7d0f75.tar.gz
ports-92a2f130a3840c3f77b2f2a6703b46c47b7d0f75.zip
Avoid spamming about a file that does not exist.
Submitted by: mandree Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D24571
Notes
Notes: svn path=/head/; revision=535225
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/sample.ucl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl
index 9d3fc498f0d4..9fb7c626c2cb 100644
--- a/Keywords/sample.ucl
+++ b/Keywords/sample.ucl
@@ -55,7 +55,7 @@ pre-deinstall: <<EOD
esac
if cmp -s "${target_file}" "${sample_file}"; then
rm -f "${target_file}"
- else
+ elif [ -e "${target_file}" ] ; then
echo "You may need to manually remove ${target_file} if it is no longer needed."
fi
EOD