summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tozt/ttrss/files/pacman-hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/tozt/ttrss/files/pacman-hook b/tozt/ttrss/files/pacman-hook
new file mode 100644
index 0000000..f9cf938
--- /dev/null
+++ b/tozt/ttrss/files/pacman-hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Package
+Target = tt-rss
+
+[Action]
+Description = Updating TT-RSS Database
+When = PostTransaction
+Exec = /usr/bin/runuser -u http -- /usr/bin/php /usr/share/webapps/tt-rss/update.php --update-schema