From b25d74e6b71142832b79438103040ca012511d5e Mon Sep 17 00:00:00 2001 From: Wharf in Ships Clothing Date: Fri, 1 Apr 2022 16:03:52 +0100 Subject: [PATCH] Remove obsolete function copy_data_to_pki() Signed-off-by: Wharf in Ships Clothing --- easyrsa3/easyrsa | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/easyrsa3/easyrsa b/easyrsa3/easyrsa index 2fd34c3..523cb31 100755 --- a/easyrsa3/easyrsa +++ b/easyrsa3/easyrsa @@ -676,7 +676,7 @@ install_data_to_pki () { if [ -e "${EASYRSA_PKI}/${source}" ]; then continue else - copy_data_to_pki "${area}/${source}" || return + cp "${area}/${source}" "$EASYRSA_PKI" || return fi done @@ -729,12 +729,6 @@ install_data_to_pki () { [ -e "$EASYRSA_SAFE_CONF" ] || easyrsa_openssl makesafeconf } # => install_data_to_pki () -# Copy the source to the PKI -copy_data_to_pki () { - cp "$1" "$EASYRSA_PKI" || return - shift -} # => copy_data_to_pki () - # Disable terminal echo, if possible, otherwise warn hide_read_pass() {