Fix Arch Linux trust options

Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
Georg Pfuetzenreuter 2021-09-08 06:17:35 +02:00
parent 73405432c9
commit ce0fdc5705
Signed by: Georg
GPG Key ID: 1DAF57F49F8E8F22

View File

@ -25,7 +25,7 @@ elif [ "${DISTRIB}" = '"Arch Linux"' ]; then
FP_CRT=$(/usr/bin/openssl x509 -fingerprint -sha512 -noout -in $CRT)
if [ "$FP_CRT" = "$FP_TRUST" ]; then
echo "OK, installing..."
/usr/bin/trust --store $CRT
/usr/bin/trust anchor --store $CRT
rm $CRT
echo "OK"
else