svn commit: r535225 - head/Keywords
Mathieu Arnold
mat at FreeBSD.org
Thu May 14 11:29:19 UTC 2020
Author: mat
Date: Thu May 14 11:29:18 2020
New Revision: 535225
URL: https://svnweb.freebsd.org/changeset/ports/535225
Log:
Avoid spamming about a file that does not exist.
Submitted by: mandree
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D24571
Modified:
head/Keywords/sample.ucl
Modified: head/Keywords/sample.ucl
==============================================================================
--- head/Keywords/sample.ucl Thu May 14 11:15:14 2020 (r535224)
+++ head/Keywords/sample.ucl Thu May 14 11:29:18 2020 (r535225)
@@ -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
More information about the svn-ports-head
mailing list