Merge remote-tracking branch 'flapflap/de-network_configuration'
[tails-test.git] / config / chroot_local-hooks / 09-remove_unsupported_pidgin_libs
blob76a086670b680007d846dca2b086cac9f61f3938
1 #!/bin/sh
3 set -e
5 # Remove pidgin's (libpurple's) support for protocols we don't support.
7 echo "Removing Pidgin libraries for protocols we do not support"
9 KEEP="irc|jabber|xmpp"
11 find /usr/lib/purple-2/ -name 'lib*.so' \
12 | /bin/grep -Ev "/lib($KEEP)\.so" \
13 | xargs rm