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