summaryrefslogtreecommitdiff
path: root/jupyterhub/jupyterhub.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-01-11 19:50:06 +0100
committerErich Eckner <git@eckner.net>2017-01-11 19:50:15 +0100
commit86a8fb2e09a3ce179fb927451c966cf11c635f7b (patch)
tree44e83105cd583ac77f6a049cabae7708789b953b /jupyterhub/jupyterhub.install
parent9fafb1ca738853cffe5866d37a522bd9004da9c8 (diff)
downloadarchlinuxewe.git.save-86a8fb2e09a3ce179fb927451c966cf11c635f7b.tar.xz
jupyterhub: add comment for upgrade to 0.7
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
+}