added another subdirs for policies files
This commit is contained in:
parent
61d4217010
commit
9171b078d7
@ -8,7 +8,7 @@ Name: copy-jdk-configs
|
||||
# hash relevant to version tag
|
||||
%global htag f1cd4541f89ac601873ee16d6aa3b3cb1497f0d5
|
||||
Version: 3.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: JDKs configuration files copier
|
||||
|
||||
License: BSD
|
||||
@ -72,6 +72,9 @@ rm "%{rpm_state_dir}/%{file}" 2> /dev/null || :
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Wed Oct 18 2017 Jiri Vanek <jvanek@redhat.com> - 3.3-2
|
||||
- added another subdirs for policies files
|
||||
|
||||
* Wed Oct 18 2017 Jiri Vanek <jvanek@redhat.com> - 3.3-1
|
||||
- handled new paths for policies files
|
||||
|
||||
|
@ -16,11 +16,15 @@ local caredFiles = {"jre/lib/calendars.properties",
|
||||
"jre/lib/security/US_export_policy.jar",
|
||||
"jre/lib/security/unlimited/US_export_policy.jar",
|
||||
"jre/lib/security/limited/US_export_policy.jar",
|
||||
"jre/lib/security/policy/unlimited/US_export_policy.jar",
|
||||
"jre/lib/security/policy/limited/US_export_policy.jar",
|
||||
"jre/lib/security/java.policy",
|
||||
"jre/lib/security/java.security",
|
||||
"jre/lib/security/local_policy.jar",
|
||||
"jre/lib/security/unlimited/local_policy.jar",
|
||||
"jre/lib/security/limited/local_policy.jar",
|
||||
"jre/lib/security/policy/unlimited/local_policy.jar",
|
||||
"jre/lib/security/policy/limited/local_policy.jar",
|
||||
"jre/lib/security/nss.cfg",
|
||||
"jre/lib/security/cacerts",
|
||||
"jre/lib/security/blacklisted.certs",
|
||||
|
@ -179,7 +179,7 @@ files=`find $sourceSearchPath | grep "\\.rpmsave$"`
|
||||
#warning: file /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64-debug/jre/lib/applet: remove failed: No such file or directory
|
||||
#warning: file /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-11.b12.el7.x86_64-debug/jre/lib/amd64/client: remove failed: No such file or directory
|
||||
#those dirs might be mepty by installtion, filling to not be rmeoved later
|
||||
blackdirs="$source/jre/lib/applet $source/jre/lib/*/client"
|
||||
blackdirs="$source/jre/lib/applet $source/jre/lib/*/client $source/jre/lib/locale/*/LC_MESSAGE"
|
||||
for blackdir in $blackdirs; do
|
||||
if [ -e $blackdir ] ; then
|
||||
debug "nasty $blackdir exists, filling"
|
||||
|
Loading…
Reference in New Issue
Block a user