09-remove_unsupported_pidgin_libs 277 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/sh

set -e

# Remove pidgin's (libpurple's) support for protocols we don't support.

7
echo "Removing Pidgin libraries for protocols we do not support"
8 9 10 11 12 13

KEEP="irc|jabber|xmpp"

find /usr/lib/purple-2/ -name 'lib*.so' \
   | /bin/grep -Ev "/lib($KEEP)\.so" \
   | xargs rm