librapi2 (0.15-2.1) 0001-Rename-p-binaries-to-synce-p-to-avoid-conflicts.patch

Summary

 script/synce-install-cab.in    |    8 ++++----
 script/synce-remove-program.in |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

    
download this patch

Patch contents

From 0f7690a2116a1c491e7fbfda2abb2b61b11eae25 Mon Sep 17 00:00:00 2001
From: Jonny Lamb <jonny@debian.org>
Date: Tue, 17 Feb 2009 01:22:46 +0000
Subject: [PATCH] Rename p* binaries to synce-p* to avoid conflicts.

Signed-off-by: Jonny Lamb <jonny@debian.org>
---
 script/synce-install-cab.in    |    8 ++++----
 script/synce-remove-program.in |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/script/synce-install-cab.in b/script/synce-install-cab.in
index 9eec8a7..bc82e8c 100755
--- a/script/synce-install-cab.in
+++ b/script/synce-install-cab.in
@@ -16,16 +16,16 @@ fi
 # First, make sure that these directories exist
 #
 set +e
-@bindir@/pmkdir /Windows/AppMgr 2>/dev/null
-@bindir@/pmkdir /Windows/AppMgr/Install 2>/dev/null
+@bindir@/synce-pmkdir /Windows/AppMgr 2>/dev/null
+@bindir@/synce-pmkdir /Windows/AppMgr/Install 2>/dev/null
 
 set -e
 
 # copy the file to a special directory
 echo "Copying file '$1' to device..."
-@bindir@/pcp "$1" ":/Windows/AppMgr/Install/synce-install.cab"
+@bindir@/synce-pcp "$1" ":/Windows/AppMgr/Install/synce-install.cab"
 
 # run program that installs cab file in /Windows/AppMgr/Install
 echo "Installing '$1'..."
-@bindir@/prun wceload.exe
+@bindir@/synce-prun wceload.exe
 
diff --git a/script/synce-remove-program.in b/script/synce-remove-program.in
index ad9c0f1..9d3ed3d 100644
--- a/script/synce-remove-program.in
+++ b/script/synce-remove-program.in
@@ -17,4 +17,4 @@ Settings -> Remove programs on your Windows CE device."
 	exit 1
 fi
 
-@bindir@/prun unload.exe "$1"
+@bindir@/synce-prun unload.exe "$1"