You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
275 B
16 lines
275 B
3 years ago
|
#!/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
|