summaryrefslogtreecommitdiff
path: root/packaging
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
parent1343ffb414e74917b4e6f9eed05df035d25be4aa (diff)
make calls to hostname portable; more tweaks to FreeBSD packaging.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/freebsd/distinfo6
-rwxr-xr-xpackaging/freebsd/pkg-deinstall2
-rwxr-xr-xpackaging/freebsd/pkg-install2
3 files changed, 5 insertions, 5 deletions
diff --git a/packaging/freebsd/distinfo b/packaging/freebsd/distinfo
index e962627..84fa981 100644
--- a/packaging/freebsd/distinfo
+++ b/packaging/freebsd/distinfo
@@ -1,3 +1,3 @@
-MD5 (monkeysphere_0.16~pre.orig.tar.gz) = 0dc82d6e81bf469326b6801147d93bbb
-SHA256 (monkeysphere_0.16~pre.orig.tar.gz) = e8147afaae0bef44dd659f0cfc47b12a90b23776b750a58756ca32c2c5605332
-SIZE (monkeysphere_0.16~pre.orig.tar.gz) = 58204
+MD5 (monkeysphere_0.16~pre.orig.tar.gz) = e495b71d28afc36d65217e1935c43535
+SHA256 (monkeysphere_0.16~pre.orig.tar.gz) = c2c3c4203ac28d025e63a2e0683dfbb5ec558e4f061f3c3b1c2b736af2b38ba9
+SIZE (monkeysphere_0.16~pre.orig.tar.gz) = 58501
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
diff --git a/packaging/freebsd/pkg-install b/packaging/freebsd/pkg-install
index 5601bb5..b832190 100755
--- a/packaging/freebsd/pkg-install
+++ b/packaging/freebsd/pkg-install
@@ -38,7 +38,7 @@ POST-INSTALL)
echo "You already have a user \"${USER}\", so I will use it."
else
if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d "$VARLIB" -s /sbin/sh -c "monkeysphere authentication user,,,"
+ -d "$VARLIB" -s /bin/sh -c "monkeysphere authentication user,,,"
then
echo "Added user \"${USER}\"."
else