Allow using http protocol for invites

This commit is contained in:
serras 2012-02-29 21:04:24 +01:00 committed by Hylke Bons
parent 8f324eb140
commit d8d057bd50

View file

@ -63,7 +63,7 @@ case $1 in
;;
open|--open)
invite=`date -u +%N`
curl -o ~/SparkleShare/$invite.xml `echo $2 | sed s/sparkleshare:/https:/`
curl -o ~/SparkleShare/$invite.xml `echo $2 | sed s/sparkleshare:/https:/` || curl -o ~/SparkleShare/$invite.xml `echo $2 | sed s/sparkleshare:/http:/`
;;
help|--help|-h)
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help