aboutsummaryrefslogtreecommitdiffstats
path: root/www/amphetadesk
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-05-15 10:49:17 +0800
committerdougb <dougb@FreeBSD.org>2011-05-15 10:49:17 +0800
commitd4eae248fc3499866ff557806dc95e19f9c41643 (patch)
tree41e2f7bdfeea9edb4e6eedfd70e9de4929e5ef02 /www/amphetadesk
parentc6b86ccb25cd0028406167283ff431a3267900fc (diff)
downloadfreebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.tar.gz
freebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.tar.zst
freebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.zip
Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo="" These are bad examples that get copied and pasted into new code, so the hope is that with less bad examples there will be less need for me to bring this up in review. In a few of these files all that were changed were comments so that next time I search for these patterns I won't trip on the file for no reason. In a few places, add $FreeBSD$ No functional changes, so no PORTREVISION bumps
Diffstat (limited to 'www/amphetadesk')
-rw-r--r--www/amphetadesk/files/amphetadesk.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/amphetadesk/files/amphetadesk.in b/www/amphetadesk/files/amphetadesk.in
index f01468475c21..af525de0ee7b 100644
--- a/www/amphetadesk/files/amphetadesk.in
+++ b/www/amphetadesk/files/amphetadesk.in
@@ -12,8 +12,8 @@
# Add the following lines to /etc/rc.conf to enable amphetadesk:
#
#amphetadesk_enable="YES"
-#amphetadesk_user=""
-#amphetadesk_pidfile=""
+#amphetadesk_user=
+#amphetadesk_pidfile=
#
. /etc/rc.subr
@@ -25,7 +25,6 @@ procname="%%PERL%%"
load_rc_config "${name}"
: ${amphetadesk_enable="NO"}
-: ${amphetadesk_user=""}
if [ -n "${amphetadesk_user}" ]; then
eval realpath ~${amphetadesk_user} >/dev/null 2>&1 &&