[Pcsclite-cvs-commit] r6050 - /trunk/PCSC/src/spy/install_spy.sh
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Oct 20 14:11:27 UTC 2011
Author: rousseau
Date: Thu Oct 20 14:11:27 2011
New Revision: 6050
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6050
Log:
Fail if libpcsclite_nospy.so.1 already exists
Modified:
trunk/PCSC/src/spy/install_spy.sh
Modified: trunk/PCSC/src/spy/install_spy.sh
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/spy/install_spy.sh?rev=6050&op=diff
==============================================================================
--- trunk/PCSC/src/spy/install_spy.sh (original)
+++ trunk/PCSC/src/spy/install_spy.sh Thu Oct 20 14:11:27 2011
@@ -1,6 +1,12 @@
#!/bin/sh
cd /usr/lib
+
+if [ -f libpcsclite_nospy.so.1 ]
+then
+ echo "File libpcsclite_nospy.so.1 already exists"
+ exit
+fi
# backup the real library
cp libpcsclite.so.1 libpcsclite_nospy.so.1
More information about the Pcsclite-cvs-commit
mailing list