aboutsummaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/sha3sum.install
blob: 3ab5d3256aefaadb6900ca1a94f292d816d5f089 (plain) (tree)



















                                                                             
_file="sha3sum"

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
}