aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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