summaryrefslogtreecommitdiff
path: root/jupyterhub/jupyterhub.install
diff options
context:
space:
mode:
Diffstat (limited to 'jupyterhub/jupyterhub.install')
-rw-r--r--jupyterhub/jupyterhub.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/jupyterhub/jupyterhub.install b/jupyterhub/jupyterhub.install
new file mode 100644
index 00000000..36ae57a8
--- /dev/null
+++ b/jupyterhub/jupyterhub.install
@@ -0,0 +1,7 @@
+post_upgrade() {
+ if [ "$(vercmp "$1" "0.7")" == "1" ] && [ "$(vercmp "$2" "0.7")" == "-1" ]
+ then
+ echo "Database format has changed."
+ echo "Call \"jupyterhub upgrade-db\" in all directories you're running jupyterhub to upgrade its database."
+ fi
+}