2013-03-26 15:36:03 +00:00
|
|
|
#!/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
|
|
|
|
|
2013-04-04 07:07:18 +00:00
|
|
|
if test $# -gt 1; then
|
|
|
|
echo "p11-kit: no additional arguments are supported for this command" >&2
|
|
|
|
exit 2
|
|
|
|
fi
|
|
|
|
|
2013-03-26 15:36:03 +00:00
|
|
|
exec /usr/bin/update-ca-trust
|