mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
@sample.ucl: only recommand to remove the file on remove
This commit is contained in:
parent
d233f442d5
commit
b1350d922c
1 changed files with 3 additions and 1 deletions
|
@ -64,6 +64,8 @@ pre-deinstall-lua: <<EOS
|
|||
if pkg.filecmp(sample_file, target_file) == 0 then
|
||||
os.remove(target_file)
|
||||
else
|
||||
pkg.print_msg("You may need to manually remove " .. target_file .. " if it is no longer needed.")
|
||||
if not pkg.pkg_upgrade then
|
||||
pkg.print_msg("You may need to manually remove " .. target_file .. " if it is no longer needed.")
|
||||
end
|
||||
end
|
||||
EOS
|
||||
|
|
Loading…
Add table
Reference in a new issue