I assume apt-get purge flashplugin-nonfree will not neccessarily deinstall the plugin, does it? Or am I wrong?
update-flashplugin-nonfree --uninstall
Quote from: michaa7 on 2014/03/07, 18:43:20
I assume apt-get purge flashplugin-nonfree will not neccessarily deinstall the plugin, does it? Or am I wrong?
Why wouldn't it?
$ cat /var/lib/dpkg/info/flashplugin-nonfree.prerm
#!/bin/sh
set -e
case "$1" in
remove|upgrade|deconfigure)
update-flashplugin-nonfree --uninstall || true
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
and
$ cat /var/lib/dpkg/info/flashplugin-nonfree.postrm
#!/bin/sh
set -e
#echo "flashplugin-nonfree postrm: $@"
if [ "$1" = "purge" ]
then
rm -rf /var/cache/flashplugin-nonfree/*
fi
exit 0Trust in apt-get! 8)