summaryrefslogtreecommitdiff
path: root/packaging/freebsd/pkg-deinstall
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-12 18:20:28 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-12 18:20:28 -0400
commit6a68ed330a5133d4d4d3aa7ae0c9c26bb7a7e59b (patch)
tree0d25559c30267cc5e9cf22f500ebdd66c2bfeb5d /packaging/freebsd/pkg-deinstall
parent1343ffb414e74917b4e6f9eed05df035d25be4aa (diff)
make calls to hostname portable; more tweaks to FreeBSD packaging.
Diffstat (limited to 'packaging/freebsd/pkg-deinstall')
-rwxr-xr-xpackaging/freebsd/pkg-deinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/freebsd/pkg-deinstall b/packaging/freebsd/pkg-deinstall
index 966f252..3000878 100755
--- a/packaging/freebsd/pkg-deinstall
+++ b/packaging/freebsd/pkg-deinstall
@@ -19,7 +19,7 @@ POST-DEINSTALL)
# (note: FreeBSD does not seem to want the package-specific user to be
# purged at package removal)
- if pw user show "${USER}" 2>/dev/null; then
+ if pw user show "${USER}" 2>/dev/null >/dev/null; then
echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually."
fi
if [ -d "$VARLIB" ] ; then