From 8617d7fe7a0e432564e60d21d94cd217fecf936f Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Sep 06 2017 12:57:10 +0000 Subject: Ticket 49371 - Cleanup update script Description: The update script needs to remove the references to the removed template ldif files https://pagure.io/389-ds-base/issue/49371 Reviewed by: mreynolds(one line commit rule) --- diff --git a/ldap/admin/src/scripts/DSUpdate.pm.in b/ldap/admin/src/scripts/DSUpdate.pm.in index 8b24b47..25fecbe 100644 --- a/ldap/admin/src/scripts/DSUpdate.pm.in +++ b/ldap/admin/src/scripts/DSUpdate.pm.in @@ -358,14 +358,7 @@ sub updateDSInstance { # other good way to process conditional features during update if ($stage eq $RUNINST_STAGE) { my @ldiffiles; - if ("@enable_pam_passthru@") { - push @ldiffiles, "$inf->{General}->{prefix}@templatedir@/template-pampta.ldif"; - } - if ("@enable_bitwise@") { - push @ldiffiles, "$inf->{General}->{prefix}@templatedir@/template-bitwise.ldif"; - } if ("@enable_dna@") { - push @ldiffiles, "$inf->{General}->{prefix}@templatedir@/template-dnaplugin.ldif"; push @ldiffiles, $inf->{General}->{prefix} . $DS_UPDATE_PATH . "/dnaplugindepends.ldif"; } push @ldiffiles, $inf->{General}->{prefix} . $DS_UPDATE_PATH . "/50updateconfig.ldif";