summarylogtreecommitdiffstats
path: root/progit2.install
diff options
context:
space:
mode:
authorWilliam Gathoye2017-01-08 18:52:38 +0100
committerWilliam Gathoye2017-01-08 18:52:38 +0100
commit7b30316dde5c9120877267f64caf6bbc4a9a0267 (patch)
tree4e85f60333e0e1ffc9dbbf7aae0b55f3797bbcc0 /progit2.install
downloadaur-7b30316dde5c9120877267f64caf6bbc4a9a0267.tar.gz
Initial commit
Diffstat (limited to 'progit2.install')
-rw-r--r--progit2.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/progit2.install b/progit2.install
new file mode 100644
index 000000000000..ae37c700c276
--- /dev/null
+++ b/progit2.install
@@ -0,0 +1,17 @@
+# arg 1: the new package version
+post_install() {
+ echo "==> The progit2 book has been installed to /usr/share/doc/progit2/"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ echo "==> The progit2 book has been updated and is located in /usr/share/doc/progit2/"
+}
+
+# arg 1: the old package version
+post_remove() {
+ if [ -d "/usr/share/doc/progit2" ]; then
+ echo "==> The directory "/usr/share/doc/progit2" has not been removed because it wasn't (maybe) empty. Check that out."
+ fi
+}