aboutsummaryrefslogblamecommitdiffstats
path: root/sleeping-getty/sleeping-getty.install
blob: d66a6b1d91da6319dd5aae853f9e817d67d305b6 (plain) (tree)



















                                                                             
_file="sleeping-getty"

infodir="usr/share/info"
file="${_file}.info"


post_install() {
  [[ -x "usr/bin/install-info" ]] || return 0
  install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
}

post_upgrade() {
  post_install "$1"
}

pre_remove() {
  [[ -x "usr/bin/install-info" ]] || return 0
  install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
}