summarylogtreecommitdiffstats
path: root/libpostal-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'libpostal-git.install')
-rw-r--r--libpostal-git.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/libpostal-git.install b/libpostal-git.install
new file mode 100644
index 000000000000..d9a8fcb35861
--- /dev/null
+++ b/libpostal-git.install
@@ -0,0 +1,18 @@
+post_install() {
+ echo ":: You need to download libpostal's trained data to "
+ echo " /usr/local/share/libpostal prior using this library."
+ echo " This can be done with the libpostal_data command, e.g.:"
+ echo " libpostal_data download all /usr/local/share/libpostal"
+}
+
+post_upgrade() {
+ echo ":: You might want to update libpostal's trained data."
+ echo " This can be done with the libpostal_data command, e.g.:"
+ echo " libpostal_data download all /usr/local/share/libpostal"
+}
+
+post_remove() {
+ echo ":: You might still have libpostal's trained data located in"
+ echo " /usr/local/share/libpostal (usually manually downloaded)"
+ echo " You should be able to safely remove this directory."
+}