summaryrefslogtreecommitdiff
path: root/rapid-tunneling.spec
diff options
context:
space:
mode:
authorAlex Landau <alex.landau@xorcom.com>2008-12-28 12:05:08 +0000
committerAlex Landau <alex.landau@xorcom.com>2008-12-28 12:05:08 +0000
commitf6ba7fc808c6e02fe27a794a9f613e200002c535 (patch)
treeb5aaecbbe4002d619d85a2731e0dc52341fbb6e1 /rapid-tunneling.spec
parentecb7b1ddf0445eafea9242c5b5062d5975ac1de7 (diff)
rapid-tunneling:
- Don't error if ~support/.bash_profile does not exist. git-svn-id: svn+ssh://xorcom/home/svn/debs/components/rapid-tunneling@6504 283159da-0705-0410-b60c-f2062b4bb6ad
Diffstat (limited to 'rapid-tunneling.spec')
-rw-r--r--rapid-tunneling.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/rapid-tunneling.spec b/rapid-tunneling.spec
index 23bff46..ff04056 100644
--- a/rapid-tunneling.spec
+++ b/rapid-tunneling.spec
@@ -50,7 +50,7 @@ fi
useradd -d /var/lib/rapid-tunneling-server -m support 2>/dev/null || :
LINE='export PATH=$PATH:/usr/sbin'
PROFILE=/var/lib/rapid-tunneling-server/.bash_profile
-if ! fgrep -q "$LINE" $PROFILE; then echo "$LINE" >> $PROFILE; fi
+if ! fgrep -q "$LINE" $PROFILE 2>/dev/null; then echo "$LINE" >> $PROFILE; fi
/sbin/chkconfig --add sshd_support
%preun server