mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 22:55:10 +01:00
Fixed some minor errors
This commit is contained in:
@@ -37,11 +37,11 @@ for TARGET
|
|||||||
in .bash_aliases .bashrc bin .gitconfig .gitmodules .hgauthors.txt .hgignore .hgrc .screenrc .terminfo .tmux.conf .vim .vimrc
|
in .bash_aliases .bashrc bin .gitconfig .gitmodules .hgauthors.txt .hgignore .hgrc .screenrc .terminfo .tmux.conf .vim .vimrc
|
||||||
do
|
do
|
||||||
echo $TARGET
|
echo $TARGET
|
||||||
if [ -l $TARGET ]; then
|
if [ -L $TARGET ]; then
|
||||||
echo "symlink exists, skipping"
|
echo "symlink exists, skipping"
|
||||||
elif [ -e $TARGET ]; then
|
elif [ -e $TARGET ]; then
|
||||||
echo "exists, moving"
|
echo "exists, moving"
|
||||||
if [ ! -d "workspace/backup/$DATETIME" ];
|
if [ ! -d "workspace/backup/$DATETIME" ]; then
|
||||||
mkdir -p "workspace/backup/$DATETIME"
|
mkdir -p "workspace/backup/$DATETIME"
|
||||||
fi
|
fi
|
||||||
#mv $TARGET "workspace/backup/$DATETIME/${TARGET}"
|
#mv $TARGET "workspace/backup/$DATETIME/${TARGET}"
|
||||||
|
|||||||
Reference in New Issue
Block a user