File: prerm

package info (click to toggle)
dtm 0.4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 512 kB
  • ctags: 67
  • sloc: perl: 1,348; sh: 61; makefile: 41
file content (9 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
# this is a sample prerm for a package that install fonts
# the package should have put the catalog snippet(s) in
# /usr/lib/dtm/catalogs/
# you should use prerm because dtm needs the snippets
# to remove the fonts

if [ -x /usr/bin/dtm ] ; then
  dtm --purge /usr/lib/dtm/catalog/snippet_file
fi