diff options
Diffstat (limited to 'devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh')
-rw-r--r-- | devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh b/devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh new file mode 100644 index 000000000000..bfdb94466e46 --- /dev/null +++ b/devel/pcsc-lite/files/patch-src_spy_uninstall__spy.sh @@ -0,0 +1,11 @@ +--- src/spy/uninstall_spy.sh.orig 2020-08-05 11:01:32 UTC ++++ src/spy/uninstall_spy.sh +@@ -5,7 +5,7 @@ set -e + + # ldconfig --print-cache will return something like + # libpcsclite.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libpcsclite.so.1 +-DIR=$(ldconfig --print-cache | grep libpcsclite.so.1) ++DIR=$(ldconfig -r | grep libpcsclite.so.1) + + # get the right part only: /usr/lib/x86_64-linux-gnu/libpcsclite.so.1 + DIR=$(echo $DIR | cut -d'=' -f2 | cut -d' ' -f2) |