@sample: Alert user that there is a stale file to be removed.
Submitted by: amdmi3 With hat: portmgr
This commit is contained in:
parent
944c6e818b
commit
001502498e
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user