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