mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-22 15:11:04 +01:00
Added backing up of dconf/user
This commit is contained in:
parent
d2ced8118f
commit
ca7e5a5fda
@ -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/.atom/config.cson" "$HOME/Documents/certificates/" "$HOME/Documents/recovery_codes/" "$HOME/Documents/passwords/");
|
declare -a BACKUP_LIST=("$HOME/.ssh/" "$HOME/.gitconfig" "$HOME/.atom/config.cson" "$HOME/Documents/certificates/" "$HOME/Documents/recovery_codes/" "$HOME/Documents/passwords/" "$HOME/.config/dconf/user");
|
||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user