|
@@ -33,7 +33,7 @@ read yesno
|
|
|
|
|
|
if [[ "$yesno" == "y" ]]; then
|
|
if [[ "$yesno" == "y" ]]; then
|
|
backup_dir=/tmp/dotfiles-backup-$(date "+%H%M%S")
|
|
backup_dir=/tmp/dotfiles-backup-$(date "+%H%M%S")
|
|
- rsync --backup --backup-dir $backup_dir --exclude profiles --exclude .git/ --exclude install.sh --exclude setup_kali.sh -r . $HOME
|
|
|
|
|
|
+ rsync --backup --backup-dir $backup_dir --exclude profiles --exclude .git/ --exclude install.sh --exclude setup_kali.sh --exclude usr/ -r . $HOME
|
|
echo "[+] Dotfiles installed :) Backup available @ $backup_dir"
|
|
echo "[+] Dotfiles installed :) Backup available @ $backup_dir"
|
|
fi
|
|
fi
|
|
|
|
|