diff options
author | roam <roam@FreeBSD.org> | 2002-04-11 11:56:55 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2002-04-11 11:56:55 +0000 |
commit | 52dc5cecae3ad26772df5740717e07a24aad78c1 (patch) | |
tree | 26d2242a6ca2655d217a48718b4dce03b324778a /misc/kde3-i18n-it | |
parent | 39af90193d6f0a554a10512b33c9bc8cdd367edd (diff) | |
download | FreeBSD-ports-52dc5cecae3ad26772df5740717e07a24aad78c1.zip FreeBSD-ports-52dc5cecae3ad26772df5740717e07a24aad78c1.tar.gz |
Fix package deinstallation: only move X.bck over X if the former exists.
Since pkg_deinstall(1) invokes the package deinstall script twice,
at the second invocation X.bck is no longer there, and mv(1), even with
the -f flag, returns a non-zero exit code. The shell executing the script
propagates this exit code right back unto pkg_deinstall(1), which complains
and aborts the package deinstallation.
I wish I had not forgotten about this problem, so this could go in
before DP1 was cut :(
Approved by: no response from trevor@, the port maintainer
Diffstat (limited to 'misc/kde3-i18n-it')
0 files changed, 0 insertions, 0 deletions