Siduction Forum

Siduction Forum => Software - Support => Topic started by: michaa7 on 2014/03/07, 18:43:20

Title: how to deinstall/purge flashplayer?
Post by: 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?
Title: Re: how to deinstall/purge flashplayer?
Post by: michaa7 on 2014/03/07, 18:57:38
update-flashplugin-nonfree --uninstall
Title: Re: how to deinstall/purge flashplayer?
Post by: michaaa62 on 2014/03/07, 19:35:28
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 0
Trust in apt-get!  8)