From c975a883fb84beb87f4fa214fddafacb056441ea Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 19 Jun 2010 11:12:18 +0100 Subject: [PATCH] update .gitignore and remove file that was supposed to be ignored --- .gitignore | 2 ++ SparkleShare/sparkleshare | 64 --------------------------------------- 2 files changed, 2 insertions(+), 64 deletions(-) delete mode 100644 SparkleShare/sparkleshare diff --git a/.gitignore b/.gitignore index 84b04053..50049d80 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,5 @@ build/m4/shave/shave build/m4/*.m4 build/m4/shave/shave-libtool Defines.cs +SparkleShare/sparkleshare +po/sparkleshare.pot diff --git a/SparkleShare/sparkleshare b/SparkleShare/sparkleshare deleted file mode 100644 index ffffe824..00000000 --- a/SparkleShare/sparkleshare +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash - -pidfile=/tmp/sparkleshare/sparkleshare.pid - -# Create a directory to save the pid to -if [[ "$1" == "start" ]]; then - if [ -e "${pidfile}" ]; then - sparklepid=`cat ${pidfile}` - if [ -n "`ps -p ${sparklepid} | grep ${sparklepid}`" ] - then - echo "SparkleShare is already running" - exit 0 - else - echo "SparkleShare stale pid file found, starting a new instance" - rm -f $pidfile - fi - fi - - echo -n "Starting SparkleShare..." - mkdir -p /tmp/sparkleshare/ - # Start SparkleShare in the background and save the pid - mono "/usr/lib/sparkleshare/SparkleShare.exe" $2 & - PID=$! - echo $PID > /tmp/sparkleshare/sparkleshare.pid - echo " Done." -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/lib/sparkleshare/SparkleShare.exe" $2 & - PID=$! - echo $PID > /tmp/sparkleshare/sparkleshare.pid - echo " Done." - fi -fi - -if [[ "$1" == "--help" ]]; then - mono "/usr/lib/sparkleshare/SparkleShare.exe" --help -fi