summaryrefslogtreecommitdiff
path: root/audio/gtkpod/patches/patch-bi
blob: b67d0ba4bf52a709822fe8a9b826cad58f6a10ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-bi,v 1.1 2007/07/08 20:49:08 smb Exp $

--- scripts/sync-ldif.sh.orig	2005-08-29 14:29:24.000000000 +0000
+++ scripts/sync-ldif.sh
@@ -130,9 +130,9 @@ done
 IS_IPOD_DIR_VALID
 
 # Is LDIFILE really a ldif file? just testing the extension, and if the file exists...
-if [ "${LDIFILE##*.}" == "ldif" ] || [ "${LDIFILE##*.}" == "LDIF" ] && [ -e "$LDIFILE" ] ; then
+if [ "${LDIFILE##*.}" = "ldif" ] || [ "${LDIFILE##*.}" = "LDIF" ] && [ -e "$LDIFILE" ] ; then
 	# The $IPOD_MOUNT/Contacts/ directory will be emptied if '-d' option!
-	if [ "$DELETE" == "OK" ]; then
+	if [ "$DELETE" = "OK" ]; then
 		echo "Old contacts being deleted from $IPOD_MOUNT. Work in progress..."
 		DELETE_VCFILE_FROM_IPOD
 		sleep 1