diff options
author | Mattias Andrée | 2015-06-11 19:08:43 +0200 |
---|---|---|
committer | Mattias Andrée | 2015-06-11 19:08:43 +0200 |
commit | 53bcc68463d6b092ae281fb20fb567aed34f2afa (patch) | |
tree | 6dfacb5115e6f814a6581daca50c8dcd5f1321c6 /pony.computer.install | |
download | aur-pony.computer.tar.gz |
Initial import, version 1428445028
Diffstat (limited to 'pony.computer.install')
-rw-r--r-- | pony.computer.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pony.computer.install b/pony.computer.install new file mode 100644 index 000000000000..2cb5cc3d5e94 --- /dev/null +++ b/pony.computer.install @@ -0,0 +1,20 @@ +_file="pony.computer" + +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 +} + |