diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-15 20:45:35 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-15 20:45:35 (GMT) |
commit | a593241481b9b2c8e2cc74b2587f73d0265670eb (patch) | |
tree | 04829b563eb1b74060278d0e31178e41d265331a /abs/extra/openjade/openjade.install | |
parent | c13aa7b8f34d539ab245a65ef7ee4c5b0e42d19f (diff) | |
download | linhes_pkgbuild-a593241481b9b2c8e2cc74b2587f73d0265670eb.zip linhes_pkgbuild-a593241481b9b2c8e2cc74b2587f73d0265670eb.tar.gz linhes_pkgbuild-a593241481b9b2c8e2cc74b2587f73d0265670eb.tar.bz2 |
openjade: replace jade
Diffstat (limited to 'abs/extra/openjade/openjade.install')
-rw-r--r-- | abs/extra/openjade/openjade.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra/openjade/openjade.install b/abs/extra/openjade/openjade.install new file mode 100644 index 0000000..7b060b5 --- /dev/null +++ b/abs/extra/openjade/openjade.install @@ -0,0 +1,23 @@ +post_install() { + /usr/bin/install-catalog --add \ + /etc/sgml/openjade-1.3.2.cat \ + /usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>&1 + + /usr/bin/install-catalog --add \ + /etc/sgml/openjade.cat \ + /etc/sgml/openjade-1.3.2.cat > /dev/null 2>&1 +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + /usr/bin/install-catalog --remove \ + /etc/sgml/openjade-1.3.2.cat \ + /usr/share/sgml/openjade-1.3.2/catalog > /dev/null 2>&1 + + /usr/bin/install-catalog --remove \ + /etc/sgml/openjade.cat \ + /etc/sgml/openjade-1.3.2.cat > /dev/null 2>&1 +} |