p11-kit/trust-extract-compat
Petr Šabata 0bc757a755 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/p11-kit#3be0aa7251dff57dc264a6895f915c2eaf36ed2e
2020-10-15 22:40:28 +02:00

16 lines
275 B
Bash
Executable File

#!/usr/bin/bash
set -e
if test "$UID" != "0"; then
echo "p11-kit: the 'extract-trust' command must be run as root" >&2
exit 2
fi
if test $# -gt 1; then
echo "p11-kit: no additional arguments are supported for this command" >&2
exit 2
fi
exec /usr/bin/update-ca-trust