zrhoffman / rpms / 389-ds-base

Forked from rpms/389-ds-base 3 years ago
Clone

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

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