aboutsummaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/argparser.install
blob: a6418e3d69be3ac05fd22be4101e84bf24a521ed (plain) (tree)



















                                                                             
_file="argparser"

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
}