aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-09-11 23:11:48 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-09-11 23:11:48 +0000
commit001502498e4e4b30cd5861d500a75f1b5d2424e7 (patch)
tree05b3133dafe4b8197673a1deffab32004168bef3 /Keywords
parent944c6e818bec9f98a26ee7a75a0fdefe6b05745e (diff)
downloadports-001502498e4e4b30cd5861d500a75f1b5d2424e7.tar.gz
ports-001502498e4e4b30cd5861d500a75f1b5d2424e7.zip
Notes
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/sample.ucl2
-rw-r--r--Keywords/sample.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/Keywords/sample.ucl b/Keywords/sample.ucl
index a1d7085dc24e..bb622133461e 100644
--- a/Keywords/sample.ucl
+++ b/Keywords/sample.ucl
@@ -33,5 +33,7 @@ pre-deinstall: <<EOD
target_file="${sample_file%.sample}"
if cmp -s "${target_file}" "${sample_file}"; then
rm -f "${target_file}"
+ else
+ echo "You may need to manually remove ${target_file} if it's no longer needed."
fi
EOD
diff --git a/Keywords/sample.yaml b/Keywords/sample.yaml
index 854320df7f07..bf65c8a06a81 100644
--- a/Keywords/sample.yaml
+++ b/Keywords/sample.yaml
@@ -32,4 +32,6 @@ pre-deinstall: |
target_file="${sample_file%.sample}"
if cmp -s "${target_file}" "${sample_file}"; then
rm -f "${target_file}"
+ else
+ echo "You may need to manually remove ${target_file} if it's no longer needed."
fi