From 4490061c298645b988ade1992ff50853ff7fbeb0 Mon Sep 17 00:00:00 2001 From: "Mauro Rosero P." Date: Tue, 17 Dec 2024 00:23:57 -0500 Subject: [PATCH] =?UTF-8?q?[FIXED]=20Se=20corrigi=C3=B3=20referencia=20al?= =?UTF-8?q?=20.gnugp=20(incorrecto)=20a=20.gnupg=20(correcto)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/lib/developers.lib | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/lib/developers.lib b/bin/lib/developers.lib index 0e60125..e0f0ff1 100644 --- a/bin/lib/developers.lib +++ b/bin/lib/developers.lib @@ -158,10 +158,10 @@ function developer_backup() { return $rc fi - # Copy full .gnugp for backup - mkdir ${TMP_PATH}/.gnugp + # Copy full .gnupg for backup + mkdir ${TMP_PATH}/.gnupg if [ $? -eq 0 ]; then - cp -rf $GNUGP_PATH/* ${TMP_PATH}/.gnugp/ + cp -rf $GNUGP_PATH/* ${TMP_PATH}/.gnupg/ rc=$? if [ $rc -ne 0 ] then @@ -198,7 +198,7 @@ function developer_backup() { # Comprimir el archivo de respaldo en un archivo ZIP protegido con contraseƱa BACKUP_FILE="${LOCAL_BACKUP}/gpg_${USER}_${TIMESTAMP}" - zip -qqr -P "${ZPASSWORD}" $BACKUP_FILE * .gnugp .ssh .gitconfig + zip -qqr -P "${ZPASSWORD}" $BACKUP_FILE * .gnupg .ssh .gitconfig rc=$? if [ $rc -ne 0 ] then @@ -245,8 +245,8 @@ function developer_restore() { clear - # Restore zip full .gnugp path - unzip -qqo -P "$ZPASSWORD" "$BACKUP_ZIP" ".gnugp"/* -d $HOME + # Restore zip full .gnupg path + unzip -qqo -P "$ZPASSWORD" "$BACKUP_ZIP" ".gnupg"/* -d $HOME rc=$? if [ $rc -ne 0 ]; then return $rc