Avoid spamming about a file that does not exist.

Submitted by:	mandree
Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D24571
This commit is contained in:
Mathieu Arnold 2020-05-14 11:29:18 +00:00
parent f601c9b0e5
commit 92a2f130a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535225

View File

@ -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