pkgsrc/audio/gtkpod/patches/patch-bi
2007-07-08 20:49:03 +00:00

16 lines
722 B
Text

$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