sys-cluster/placement: install migration scripts
authorMatthew Thode <prometheanfire@gentoo.org>
Sat, 20 Apr 2019 01:15:52 +0000 (20:15 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Sat, 20 Apr 2019 01:16:38 +0000 (20:16 -0500)
Fixes: https://bugs.gentoo.org/683706

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
sys-cluster/placement/placement-1.0.0-r1.ebuild [moved from sys-cluster/placement/placement-1.0.0.ebuild with 98% similarity]
sys-cluster/placement/placement-2019.1.9999.ebuild

similarity index 98%
rename from sys-cluster/placement/placement-1.0.0.ebuild
rename to sys-cluster/placement/placement-1.0.0-r1.ebuild
index d3ab3c47e56331823d909892e9bd2df47505ed49..291dc9ebaad5593652eaa3b6195228e93341935a 100644 (file)
@@ -102,4 +102,7 @@ python_install_all() {
        insinto /etc/placement
        insopts -m 0640 -o placement -g placement
        newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample
+
+       dobin tools/mysql-migrate-db.sh
+       dobin tools/postgresql-migrate-db.sh
 }
index d3ab3c47e56331823d909892e9bd2df47505ed49..291dc9ebaad5593652eaa3b6195228e93341935a 100644 (file)
@@ -102,4 +102,7 @@ python_install_all() {
        insinto /etc/placement
        insopts -m 0640 -o placement -g placement
        newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample
+
+       dobin tools/mysql-migrate-db.sh
+       dobin tools/postgresql-migrate-db.sh
 }