Skip to content

Commit

Permalink
Update config-update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoaugustine authored Jul 17, 2024
1 parent 248cfe0 commit 4a9bcbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions files/scripts/config-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ fi
source "${GEN3_HOME}/gen3/lib/utils.sh"
gen3_load "gen3/lib/kube-setup-init"

# Backup the $HOME/Gen3Secrets directory
backup_dir="$HOME/Gen3Secrets-$(date +%Y%m%d%H%M%S)"
cp -r "$HOME/Gen3Secrets" "$backup_dir"
echo "Backup of Gen3Secrets created at $backup_dir"

# Function to update JSON file
update_json_config() {
local file_path=$1
Expand Down

0 comments on commit 4a9bcbd

Please sign in to comment.