summarylogtreecommitdiffstats
path: root/wpscan.install
diff options
context:
space:
mode:
Diffstat (limited to 'wpscan.install')
-rw-r--r--wpscan.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpscan.install b/wpscan.install
new file mode 100644
index 000000000000..9ee5b5bcc1a8
--- /dev/null
+++ b/wpscan.install
@@ -0,0 +1,9 @@
+post_install() {
+ echo -n 'Updating wpscan database...'
+ /usr/bin/wpscan --update >/dev/null 2>&1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install
+}