X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=fwcutter%2Fdebian%2Ffirmware-b43-installer%2FDEBIAN%2Fpostrm;fp=fwcutter%2Fdebian%2Ffirmware-b43-installer%2FDEBIAN%2Fpostrm;h=b77be9b0c76fa6bc291ccab9f2eb6aa9bc55d727;hb=89b880716d26706541c57c290199f66c0741902e;hp=0000000000000000000000000000000000000000;hpb=30e3fca2e44c77faf9782bae2d7490877deddbd7;p=b43-tools.git diff --git a/fwcutter/debian/firmware-b43-installer/DEBIAN/postrm b/fwcutter/debian/firmware-b43-installer/DEBIAN/postrm new file mode 100755 index 0000000..b77be9b --- /dev/null +++ b/fwcutter/debian/firmware-b43-installer/DEBIAN/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 + + + +exit 0