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

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