From ed9e1a229945209301fbe875f43a34059fd5c43c Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 19 May 2010 21:56:20 +0100 Subject: [PATCH] make spinner smaller --- SparkleShare | 56 ---------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 SparkleShare diff --git a/SparkleShare b/SparkleShare deleted file mode 100644 index 3c6adfc8..00000000 --- a/SparkleShare +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash - -# Create a directory to save the pid to -mkdir -p /tmp/sparkleshare/ - -if [[ "$1" == "start" ]]; then - if [ -e "/tmp/sparkleshare/sparkleshare.pid" ]; then - echo "SparkleShare is already running." - else - echo -n "Starting SparkleShare..." - - # Start SparkleShare in the background and save the pid - mono /usr/local/share/sparkleshare/SparkleShare.exe $2 & - PID=$! - echo $PID > /tmp/sparkleshare/sparkleshare.pid - echo " Done." - fi -fi - -if [[ "$1" == "stop" ]]; then - if [ -e "/tmp/sparkleshare/sparkleshare.pid" ]; then - echo -n "Stopping SparkleShare..." - kill `cat /tmp/sparkleshare/sparkleshare.pid` - rm -f /tmp/sparkleshare/sparkleshare.pid - echo " Done." - else - echo "SparkleShare isn't running." - fi -fi - -if [[ "$1" == "restart" ]]; then - if [ -e "/tmp/sparkleshare/sparkleshare.pid" ]; then - echo -n "Stopping SparkleShare..." - kill `cat /tmp/sparkleshare/sparkleshare.pid` - rm -f /tmp/sparkleshare/sparkleshare.pid - echo " Done." - else - echo "SparkleShare isn't running." - fi - - if [ -e "/tmp/sparkleshare/sparkleshare.pid" ]; then - echo "SparkleShare is already running." - else - echo -n "Starting SparkleShare..." - - # Start SparkleShare in the background and save the pid - mono /usr/local/share/sparkleshare/SparkleShare.exe $2 & - PID=$! - echo $PID > /tmp/sparkleshare/sparkleshare.pid - echo " Done." - fi -fi - -if [[ "$1" == "--help" ]]; then - mono /usr/local/share/sparkleshare/SparkleShare.exe --help -fi