aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fangfrisch.install18
1 files changed, 9 insertions, 9 deletions
diff --git a/fangfrisch.install b/fangfrisch.install
index f387132623bd..6f169e3e77b4 100644
--- a/fangfrisch.install
+++ b/fangfrisch.install
@@ -1,11 +1,11 @@
post_install() {
- echo 'NOTE: Create database structure by running:'
- echo ' sudo -u clamav /usr/bin/fangfrisch --conf /etc/fangfrisch/fangfrisch.conf initdb'
- echo
- echo 'NOTE: Enable fangfrisch.timer for regular automatic updates.'
-}
-post_upgrade() {
- if (( $(vercmp $2 1.1.0) < 0 )); then
- sudo -u clamav /usr/bin/fangfrisch --conf /etc/fangfrisch/fangfrisch.conf --force initdb
- fi
+ cat <<EOT
+
+NOTE: Create database structure by running:
+ sudo -u clamav /usr/bin/fangfrisch --conf /etc/fangfrisch/fangfrisch.conf initdb
+
+NOTE: After creating the database, enable fangfrisch.timer for regular automatic updates:
+ sudo systemctl enable fangfrisch.timer
+
+EOT
}