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 174458d8c7
commit 14fd32308c
1 changed files with 1 additions and 1 deletions

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