X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=fwcutter%2Fdebian%2Ffirmware-b43-installer.postrm;fp=fwcutter%2Fdebian%2Ffirmware-b43-installer.postrm;h=339d14081baefcdaa4094ebe33f9f1fb53748dbe;hb=89b880716d26706541c57c290199f66c0741902e;hp=0000000000000000000000000000000000000000;hpb=30e3fca2e44c77faf9782bae2d7490877deddbd7;p=b43-tools.git diff --git a/fwcutter/debian/firmware-b43-installer.postrm b/fwcutter/debian/firmware-b43-installer.postrm new file mode 100644 index 0000000..339d140 --- /dev/null +++ b/fwcutter/debian/firmware-b43-installer.postrm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +if [ "$1" = purge ] || [ "$1" = remove ]; then + + if [ -d /lib/firmware/b43 ]; then + echo "Deleting old extracted firmware..." + rm -rf /lib/firmware/b43/* + fi +fi + +#DEBHELPER# + +exit 0