diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-09-12 07:11:48 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-09-12 07:11:48 +0800 |
commit | 3e6dce78a3e4b81414b62f76da94b37e28976eed (patch) | |
tree | 05b3133dafe4b8197673a1deffab32004168bef3 /Keywords | |
parent | ff4efb035b3c833bef66203907f51635a3f005df (diff) | |
download | freebsd-ports-gnome-3e6dce78a3e4b81414b62f76da94b37e28976eed.tar.gz freebsd-ports-gnome-3e6dce78a3e4b81414b62f76da94b37e28976eed.tar.zst freebsd-ports-gnome-3e6dce78a3e4b81414b62f76da94b37e28976eed.zip |
@sample: Alert user that there is a stale file to be removed.
Submitted by: amdmi3
With hat: portmgr
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/sample.ucl | 2 | ||||
-rw-r--r-- | Keywords/sample.yaml | 2 |
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 |