cleanup/ whitespace

This commit is contained in:
fabian 2023-05-06 05:44:19 +02:00
parent 3337e168c7
commit 16de7c94da

View File

@ -9,12 +9,12 @@ shopt -s expand_aliases # make aliases work
### update local backup dir ### ### update local backup dir ###
############################### ###############################
# first part is still kind of manual for now...
BACKUP_DIR=/sync/backup BACKUP_DIR=/sync/backup
BACKUP_DIR_HOME=$BACKUP_DIR/home BACKUP_DIR_HOME=$BACKUP_DIR/home
if [[ !($HOME/.bash_aliases_local -ef $BACKUP_DIR_HOME/.bash_aliases_local) ]]; then if [[ !($HOME/.bash_aliases_local -ef $BACKUP_DIR_HOME/.bash_aliases_local) ]]; then
ln $HOME/.bash_aliases_local $BACKUP_DIR_HOME/.bash_aliases_local ln $HOME/.bash_aliases_local $BACKUP_DIR_HOME/.bash_aliases_local
fi fi
BACKUP_DIR_ROOT=$BACKUP_DIR/root/etc BACKUP_DIR_ROOT=$BACKUP_DIR/root/etc
rsync_backup --link-dest="/etc/ssh/" /etc/ssh/ $BACKUP_DIR_ROOT/ssh/ rsync_backup --link-dest="/etc/ssh/" /etc/ssh/ $BACKUP_DIR_ROOT/ssh/
if [[ !(-d $BACKUP_DIR_ROOT/udev/rules.d) ]]; then if [[ !(-d $BACKUP_DIR_ROOT/udev/rules.d) ]]; then