prerm is in elmer 6.1.0.svn.5396.dfsg-2ubuntu1.
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 10 11 12 13 14 | #! /bin/sh -e
PROVIDED_MODELS="helmholtz navier-stokes resultoutput heatequation linearelasticity k-epsilon meshdeform advection-diffusion elasticplate electrostatics freesurface poissonboltzmann reynolds saveline savescalars statcurrent"
# Remove all possible file symlinks before removing package files
case "$1" in
remove|purge)
for model in $PROVIDED_MODELS; do
rm -f /usr/share/ElmerGUI/edf/$model.xml;
done
;;
*)
;;
esac
|