diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-25 14:19:31 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-25 14:19:31 +0300 |
commit | e06370f27bc2868df91c3a5f29dc7f95e3f9350a (patch) | |
tree | 2a62c7a345744ea034b5b889a1c3d4dfe6055301 /debian/rebuild-security-providers | |
parent | 781434cd4f3b1be60b117ae61babaf60f4a9e563 (diff) | |
download | gcc-defaults-debian.tar.gz |
Imported gcc-defaults-1.185.1debian/1.185.1debian
Diffstat (limited to 'debian/rebuild-security-providers')
-rwxr-xr-x | debian/rebuild-security-providers | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/debian/rebuild-security-providers b/debian/rebuild-security-providers deleted file mode 100755 index bd33a66..0000000 --- a/debian/rebuild-security-providers +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/bash -# Rebuild the list of security providers in classpath.security - -secfiles="/var/lib/security/classpath.security" - -for secfile in $secfiles; do - # check if this classpath.security file exists - #[ -f "$secfile" ] || continue - - sed '/^security\.provider\./d' /etc/java/security/classpath.security \ - > $secfile - - count=0 - for provider in $(ls /etc/java/security/security.d) - do - count=$((count + 1)) - echo "security.provider.${count}=${provider#*-}" >> "$secfile" - done -done |