summarylogtreecommitdiffstats
path: root/lprng.install
blob: 8039b18e72a069ab2aa15208cfd8944984f0c83f (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
  mv /etc/lprng/printcap.sample /etc/lprng/lpd/lpd.conf.sample \
    /etc/lprng/lpd/lpd.perms.sample /usr/share/doc/lprng
  echo 'See /usr/share/doc/lprng/README to configure'
}

pre_remove() {
  /usr/bin/systemctl stop lpd.service
  /usr/bin/systemctl disable lpd.service
}