diff options
author | Mattias Andrée | 2015-11-30 03:20:33 +0100 |
---|---|---|
committer | Mattias Andrée | 2015-11-30 03:20:33 +0100 |
commit | 2d9665913bbaed773836768fbd83d77b5a34e6ca (patch) | |
tree | b6400332c226e03115d81bbf3d9f009e175ecf87 /crt-calibrator.install | |
parent | cad9298d284156fc335f2e3c5d21bb528622db83 (diff) | |
download | aur-2d9665913bbaed773836768fbd83d77b5a34e6ca.tar.gz |
Update to 1.3
Diffstat (limited to 'crt-calibrator.install')
-rw-r--r-- | crt-calibrator.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crt-calibrator.install b/crt-calibrator.install new file mode 100644 index 000000000000..4328413b337c --- /dev/null +++ b/crt-calibrator.install @@ -0,0 +1,20 @@ +_file="passcheck" + +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 +} + |