prerm is in bladerf-fpga-hostedx40 0.2016.01~rc1-3.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | #!/bin/sh
set -e
RBFFILE=/usr/share/Nuand/bladeRF/hostedx40.rbf
if [ "$1" = "remove" -o "$1" = "purge" ]; then
echo "Deleting downloaded FPGA bitstream: $RBFFILE"
rm -f $RBFFILE
fi
|