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.
|
#!/usr/bin/sh
|
|
|
|
exit_code=0
|
|
|
|
for key in "$@"; do
|
|
echo >&2 "Info: Removing RPM GPG key: $key"
|
|
rpm --erase "$key" || {
|
|
exit_code=1
|
|
echo >&2 "Error: Failed to remove RPM GPG key: $key"
|
|
}
|
|
done
|
|
|
|
exit $exit_code
|