diff options
author | David P <megver83@parabola.nu> | 2018-05-11 12:58:28 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-05-11 12:58:28 -0300 |
commit | c2ae4432f3e216a655c99f45713aa939c9418d10 (patch) | |
tree | ae4f509a11e5d3316d90a13acab488cef42b8e4b /nonsystemd/libretools/libretools.install | |
parent | 8420b26c7b33620a93917b21f2eefdbeb7b938f7 (diff) | |
download | abslibre-c2ae4432f3e216a655c99f45713aa939c9418d10.tar.gz abslibre-c2ae4432f3e216a655c99f45713aa939c9418d10.tar.bz2 abslibre-c2ae4432f3e216a655c99f45713aa939c9418d10.zip |
nonsystemd/libretools: add package
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/libretools/libretools.install')
-rw-r--r-- | nonsystemd/libretools/libretools.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nonsystemd/libretools/libretools.install b/nonsystemd/libretools/libretools.install new file mode 100644 index 000000000..759e32dc4 --- /dev/null +++ b/nonsystemd/libretools/libretools.install @@ -0,0 +1,20 @@ +#!/bin/sh + +# arg 1: the new package version +post_install() { + librefetch-install install etc/makepkg.conf +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + if [[ "$(vercmp 20160505 "$2")" -eq 1 ]]; then + echo ":: The archroot format has changed from v3 to v4;" + echo " you will need delete and re-create your chroots." + fi + librefetch-install install etc/makepkg.conf +} + +pre_remove() { + librefetch-install remove etc/makepkg.conf +} |