diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-30 03:20:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-30 03:20:51 +0100 |
commit | 9ded3651d70ac24b8f6f07d52a268c605cd3a90f (patch) | |
tree | f283ac88ebacaeae5d175e144c1e938f013abe85 /dist/archlinux/stable/crt-calibrator.install | |
parent | update makefile (diff) | |
download | crt-calibrator-9ded3651d70ac24b8f6f07d52a268c605cd3a90f.tar.gz crt-calibrator-9ded3651d70ac24b8f6f07d52a268c605cd3a90f.tar.bz2 crt-calibrator-9ded3651d70ac24b8f6f07d52a268c605cd3a90f.tar.xz |
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist/archlinux/stable/crt-calibrator.install')
-rw-r--r-- | dist/archlinux/stable/crt-calibrator.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/archlinux/stable/crt-calibrator.install b/dist/archlinux/stable/crt-calibrator.install new file mode 100644 index 0000000..4328413 --- /dev/null +++ b/dist/archlinux/stable/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 +} + |