prerm is in yorick 2.2.04+dfsg1-5.
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 19 20 21 22 23 24 25 26 | #!/bin/sh
set -e
# Automatically added by dh_usrlocal
(
while read dir; do
rmdir "$dir" 2>/dev/null || true
done
) << DATA
/usr/local/lib/yorick/python
/usr/local/lib/yorick/packages
/usr/local/lib/yorick/lib
/usr/local/lib/yorick/i0
/usr/local/lib/yorick/i-start
/usr/local/lib/yorick/i
/usr/local/lib/yorick/glade
/usr/local/lib/yorick/data
/usr/local/lib/yorick/contrib
/usr/local/lib/yorick
DATA
# End automatically added section
# dh_usrlocal tries to remove this directory when it is not empty yet
# and as a result leaves it in place. See #787837, #788098.
rmdir /usr/local/lib/yorick 2>/dev/null || true
|