Blame SOURCES/0028-Ticket-49038-remove-legacy-replication-change-cleanu.patch

b045b9
From 2b5b09a7a871d626bb45888f948126732d0893f3 Mon Sep 17 00:00:00 2001
b045b9
From: Mark Reynolds <mreynolds@redhat.com>
b045b9
Date: Wed, 4 Oct 2017 12:55:30 -0400
b045b9
Subject: [PATCH] Ticket 49038 - remove legacy replication - change cleanup
b045b9
 script precedence
b045b9
b045b9
Description:  Bump the cleanup scripts precendance so it happens after the
b045b9
              main plugin upgrade scripts are called.
b045b9
b045b9
https://pagure.io/389-ds-base/issue/49038
b045b9
b045b9
Reviewed by: firstyear(Thanks!)
b045b9
b045b9
(cherry picked from commit 1fe2c761103c36090ab67df0271dfdb3012037fb)
b045b9
---
b045b9
 Makefile.am                                                           | 2 +-
b045b9
 ...{50removeLegacyReplication.ldif => 60removeLegacyReplication.ldif} | 0
b045b9
 rpm/389-ds-base.spec.in                                               | 4 ++--
b045b9
 3 files changed, 3 insertions(+), 3 deletions(-)
b045b9
 rename ldap/admin/src/scripts/{50removeLegacyReplication.ldif => 60removeLegacyReplication.ldif} (100%)
b045b9
b045b9
diff --git a/Makefile.am b/Makefile.am
b045b9
index 09a6bc296..8834a7819 100644
b045b9
--- a/Makefile.am
b045b9
+++ b/Makefile.am
b045b9
@@ -942,7 +942,7 @@ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \
b045b9
 	ldap/admin/src/scripts/50telexnumbersyntaxplugin.ldif \
b045b9
 	ldap/admin/src/scripts/50guidesyntaxplugin.ldif \
b045b9
 	ldap/admin/src/scripts/50targetuniqueid.ldif \
b045b9
-	ldap/admin/src/scripts/50removeLegacyReplication.ldif \
b045b9
+	ldap/admin/src/scripts/60removeLegacyReplication.ldif \
b045b9
 	ldap/admin/src/scripts/50linkedattrsplugin.ldif \
b045b9
 	ldap/admin/src/scripts/50usnplugin.ldif \
b045b9
 	ldap/admin/src/scripts/50smd5pwdstorageplugin.ldif \
b045b9
diff --git a/ldap/admin/src/scripts/50removeLegacyReplication.ldif b/ldap/admin/src/scripts/60removeLegacyReplication.ldif
b045b9
similarity index 100%
b045b9
rename from ldap/admin/src/scripts/50removeLegacyReplication.ldif
b045b9
rename to ldap/admin/src/scripts/60removeLegacyReplication.ldif
b045b9
diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in
b045b9
index 1e5c2cfd3..30a1d7d9a 100644
b045b9
--- a/rpm/389-ds-base.spec.in
b045b9
+++ b/rpm/389-ds-base.spec.in
b045b9
@@ -395,9 +395,9 @@ echo remove pid files . . . >> $output 2>&1 || :
b045b9
 echo upgrading instances . . . >> $output 2>&1 || :
b045b9
 DEBUGPOSTSETUPOPT=`/usr/bin/echo $DEBUGPOSTSETUP | /usr/bin/sed -e "s/[^d]//g"`
b045b9
 if [ -n "$DEBUGPOSTSETUPOPT" ] ; then
b045b9
-    %{_sbindir}/setup-ds.pl -l $output2 -$DEBUGPOSTSETUPOPT -u -s General.UpdateMode=offline >> $output 2>&1 || :
b045b9
+    %{_sbindir}/setup-ds.pl -$DEBUGPOSTSETUPOPT -u -s General.UpdateMode=offline >> $output 2>&1 || :
b045b9
 else
b045b9
-    %{_sbindir}/setup-ds.pl -l $output2 -u -s General.UpdateMode=offline >> $output 2>&1 || :
b045b9
+    %{_sbindir}/setup-ds.pl -u -s General.UpdateMode=offline >> $output 2>&1 || :
b045b9
 fi
b045b9
 
b045b9
 # restart instances that require it
b045b9
-- 
b045b9
2.13.6
b045b9