summarylogtreecommitdiffstats
path: root/progit2-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'progit2-git.install')
-rw-r--r--progit2-git.install16
1 files changed, 12 insertions, 4 deletions
diff --git a/progit2-git.install b/progit2-git.install
index 8202977471d5..ae37c700c276 100644
--- a/progit2-git.install
+++ b/progit2-git.install
@@ -1,9 +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/"
+}
- cat << EOF
-==> The progit2 book has been installed to /usr/share/doc/progit2/
-EOF
-
+# 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
}