Added folder for certificates to backup

This commit is contained in:
Kevin Veen-Birkenbach 2019-10-02 16:50:30 +02:00
parent a72d878993
commit b9b315673f

View File

@ -12,7 +12,7 @@ if [ -z "$(mount | grep "$DECRYPTED_PATH")" ]
echo "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!" echo "The decrypted folder $DECRYPTED_PATH is locked. You need to unlock it!"
bash "$SCRIPT_PATH/unlock.sh" || exit 1; bash "$SCRIPT_PATH/unlock.sh" || exit 1;
fi fi
declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig" "$HOME/.mozilla/firefox/" "$HOME/.atom/config.cson"); declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig" "$HOME/.mozilla/firefox/" "$HOME/.atom/config.cson" "$HOME/Documents/certificates/");
for system_item_path in "${BACKUP_LIST[@]}"; for system_item_path in "${BACKUP_LIST[@]}";
do do
data_item_path="$DATA_PATH$system_item_path" data_item_path="$DATA_PATH$system_item_path"