%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 188.40.95.74 / Your IP : 216.73.216.142 Web Server : Apache System : Linux cp01.striminghost.net 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64 User : vlasotin ( 1054) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/leapp-repository/repositories/system_upgrade/common/tools/ |
Upload File : |
#!/usr/bin/bash -ef log_error() { echo >&2 "Error: $1" } log_info() { echo >&2 "Info: $1" } if [ "$#" -eq 0 ]; then log_error "Missing the required path to the directory with trusted GPG keys." exit 1 elif [ "$#" -ge 2 ]; then log_error "Expected only one argument, received $#. Possibly unescaped whitespaces? '$*'" exit 1 fi if [ ! -e "$1" ]; then log_error "The $1 directory does not exist." exit 1 fi error_flag=0 IFS=$'\n' # shellcheck disable=SC2044 for key_file in $(find -L "$1" -type f); do log_info "Importing GPG keys from: $key_file" rpm --import "$key_file" || { error_flag=2 log_error "Unable to import GPG keys from: $key_file" } done exit $error_flag