HEX
Server: Apache
System: Linux bd12.noc223.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: handcraf (1693)
PHP: 8.1.28
Disabled: NONE
Upload Files
File: //opt/fleetssl-cpanel/fix_fleetssl_cpanel_0.19.5-upgrade.sh
#!/usr/bin/env bash

sleep 60

# If the le-cp symlink is valid, nothing to fix.
if [ -f /usr/local/bin/le-cp ]; then
    exit 0
fi

# If the RPM is not installed, nothing to fix.
if ! rpm -q --quiet letsencrypt-cpanel; then
    exit 0
fi

yum -yq reinstall letsencrypt-cpanel