preinst is in amanda-common 1:3.3.6-4.1.
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 | #!/bin/sh -e
# if a .amandahosts exists and is not a symlink, move it to /etc
if [ ! -L ~backup/.amandahosts ]
then
if [ -f ~backup/.amandahosts ]
then
mv -f ~backup/.amandahosts /etc/amandahosts
fi
fi
|