summarylogtreecommitdiffstats
path: root/opennebula.install
diff options
context:
space:
mode:
authorRafael Reggiani Manzo2016-06-29 15:30:06 -0300
committerRafael Reggiani Manzo2016-06-29 15:30:06 -0300
commitfea3bedd8ec3c3ed2e1e85fb6bf1a96405f2b887 (patch)
treeffeaeca89c3949df3f1b95f624338109b9014946 /opennebula.install
parentedfa2219d881609c20a7045004df9ba8953ab59b (diff)
downloadaur-fea3bedd8ec3c3ed2e1e85fb6bf1a96405f2b887.tar.gz
Bump to 5.0.1, improve upgrade compatibility
The previous build was not taking advantage of the PKBUILD backup structure in order to avoid configuration ovewrite causing some configurations to get missing depending on the build host.
Diffstat (limited to 'opennebula.install')
-rw-r--r--opennebula.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/opennebula.install b/opennebula.install
index 3c801f300f96..7b1c923c4592 100644
--- a/opennebula.install
+++ b/opennebula.install
@@ -15,6 +15,10 @@ post_install() {
chown oneadmin:cloud -R /var/log/one /var/lib/one /run/one /run/lock/one
}
+post_upgrade(){
+ printf "NOTE: This is may be an major upgrade! If you are not installing from scratch, check the compatibility guide at:\n\n\thttp://docs.opennebula.org/5.0/intro_release_notes/release_notes/compatibility.html\n\thttp://docs.opennebula.org/5.0/intro_release_notes/upgrades/upgrade_414.html\n"
+}
+
pre_remove() {
userdel oneadmin && echo ">> User 'oneadmin' has been removed."
groupdel cloud && echo ">> Group 'cloud' has been removed."