diff options
author | Rafael Reggiani Manzo | 2016-06-29 15:30:06 -0300 |
---|---|---|
committer | Rafael Reggiani Manzo | 2016-06-29 15:30:06 -0300 |
commit | fea3bedd8ec3c3ed2e1e85fb6bf1a96405f2b887 (patch) | |
tree | ffeaeca89c3949df3f1b95f624338109b9014946 /opennebula.install | |
parent | edfa2219d881609c20a7045004df9ba8953ab59b (diff) | |
download | aur-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.install | 4 |
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." |