Date: Thu, 14 May 2020 11:29:19 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535225 - head/Keywords Message-ID: <202005141129.04EBTJaS044476@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005141129.04EBTJaS044476>