From 8b233924a4609ec995bb677b89d7c52d13c618e0 Mon Sep 17 00:00:00 2001 From: pokhiii Date: Sat, 8 Jun 2024 13:56:56 +0530 Subject: [PATCH 1/2] updated gitinore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index ab24c382..54593508 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,9 @@ wp-config.php # Uploads /wp-content/uploads/ +# Upgrade +/wp-content/upgrade/ + # Log files *.log From d5c0eb353c38ef2b5ca6d54b18791f7b890497d6 Mon Sep 17 00:00:00 2001 From: pokhiii Date: Sat, 8 Jun 2024 14:06:13 +0530 Subject: [PATCH 2/2] remove backup directory post import --- bin/import_civicrm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/import_civicrm.sh b/bin/import_civicrm.sh index 2860bcfb..1bae81e8 100755 --- a/bin/import_civicrm.sh +++ b/bin/import_civicrm.sh @@ -28,4 +28,6 @@ cd .. # Use yes to automate the confirmation prompt yes y | wp civicrm core restore --backup-dir=$EXPORT_DIR_PATH/civicrm-backup --yes +rm -rf $EXPORT_DIR_PATH/civicrm-backup + echo "Imported ${ZIP_FILE} successfully"