Changeset f42ffb8a


Ignore:
Timestamp:
02/12/2012 04:17:41 AM (12 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
59048cd9
Parents:
fe54f243
Message:

Fix remove-expired-certs.sh script

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9381 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/cacerts.xml

    rfe54f243 rf42ffb8a  
    253253  local m
    254254
     255  if [ ${d} -lt 10 ]; then d="0${d}"; fi
     256
    255257  case $M in
    256258    Jan) m="01";;
     
    284286  notafter=$( $OPENSSL x509 -enddate -in "${cert}" -noout )
    285287  date=$( echo ${notafter} |  sed 's/^notAfter=//' )
    286   mydate "date"
     288  mydate "$date"
    287289
    288290  if [ ${certdate} -lt ${today} ]; then
    289      echo "${cert} is expired! Removing..."
     291     echo "${cert} expired on ${certdate}! Removing..."
    290292     rm -f "${cert}"
    291293  fi
Note: See TracChangeset for help on using the changeset viewer.