aboutsummaryrefslogblamecommitdiffstats
path: root/dist/archlinux/stable/exec-as.install
blob: e25e4f0abb7cd05bc02946aa81cc1b8474fb8881 (plain) (tree)



















                                                                             
_file="exec-as"

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
}