prerm is in octave 4.2.2-1ubuntu1.
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 15 16 17 18 | #!/bin/sh
#
# prerm script for the Debian GNU/Linux octave package
#
# Originally written by Dirk Eddelbuettel <edd@debian.org>
set -e
# Remove the packages database file
rm -f /usr/share/octave/octave_packages
# This is for old installations of the octave package
if [ -f /usr/share/octave/ls-R ]
then
rm -f /usr/share/octave/ls-R
fi
|