Revert change in the startup script

This commit is contained in:
Hylke Bons 2011-03-08 23:53:21 +00:00
parent 143d361ec7
commit a13d6a996c

View file

@ -16,11 +16,7 @@ start() {
echo -n "Starting SparkleShare... "
mkdir -p /tmp/sparkleshare/
# Use a new ssh-agent if the user doesn't have any unlocked keys added
# already. This prevents password prompts of various kinds from appearing.
ssh-add -l > /dev/null
if [ $? == 0 ]; then
if [ -n "$SSH_AGENT_PID" ]; then
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
else
ssh-agent mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" $2 &
@ -63,4 +59,5 @@ case $1 in
*)
echo "Usage: sparkleshare {start|stop|restart|help}"
;;
esac
esac