mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 20:35:11 +01:00
Fix indentation
This commit is contained in:
@@ -41,14 +41,14 @@ do
|
||||
echo " symlink exists and is fine, skipping"
|
||||
continue
|
||||
elif [ -e $TARGET ] || [ -L $TARGET ] && [ "$(readlink $TARGET)" != "$DIR/$TARGET" ]; then
|
||||
echo " exists, moving out of the way"
|
||||
echo " exists, moving out of the way"
|
||||
if [ ! -d "workspace/backup/dotfiles_$DATETIME" ]; then
|
||||
mkdir -p "workspace/backup/dotfiles_$DATETIME"
|
||||
fi
|
||||
DIRNAME=$(dirname ${TARGET})
|
||||
if [ "$DIRNAME" != "." ]; then
|
||||
mkdir "workspace/backup/dotfiles_$DATETIME/$DIRNAME"
|
||||
mv $TARGET "workspace/backup/dotfiles_$DATETIME/$DIRNAME"
|
||||
mv $TARGET "workspace/backup/dotfiles_$DATETIME/$DIRNAME"
|
||||
#echo "workspace/backup/privdotfiles_$DATETIME/$DIRNAME"
|
||||
else
|
||||
mv $TARGET "workspace/backup/dotfiles_$DATETIME/"
|
||||
|
||||
Reference in New Issue
Block a user