summarylogtreecommitdiffstats
path: root/hellanzb.install
diff options
context:
space:
mode:
authorsputnick2015-06-18 23:43:50 +0200
committersputnick2015-06-18 23:43:50 +0200
commit36f8c8465ee797fd5f9c525ffb9a65c8ea026865 (patch)
treecc0aaa4fc6bcce2662831ba5649743b475c235fd /hellanzb.install
downloadaur-hellanzb-git.tar.gz
Initial hellanzb-git commit
Diffstat (limited to 'hellanzb.install')
-rw-r--r--hellanzb.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/hellanzb.install b/hellanzb.install
new file mode 100644
index 000000000000..192392893372
--- /dev/null
+++ b/hellanzb.install
@@ -0,0 +1,20 @@
+# arg 1: the new package version
+post_install() {
+ echo ">>> If you wish to use SSL, please install pyopenssl."
+ echo ">>> "
+ echo ">>> To configure:"
+ echo ">>> Copy /etc/hellanzb.conf.sample to either /etc/hellanzb.conf or"
+ echo ">>> ~/.config/hellanzb.conf and edit."
+ echo ">>> "
+ echo ">>> To run:"
+ echo ">>> Run /usr/bin/hellanzb.py or use the rc script /etc/rc.d/hellanzb."
+ echo ">>> If using the rc script, make sure to edit /etc/conf.d/hellanzb."
+}
+
+post_upgrade() {
+ post_install
+}
+
+op=$1
+shift
+$op $*