fix: check if folder already exist
This commit is contained in:
parent
676417d151
commit
5e02f8c63c
1 changed files with 4 additions and 1 deletions
|
@ -18,4 +18,7 @@ mkdir -p "$SUBLIME_CONFIG_FILE"
|
||||||
sudo cp "$1/sublime/iflbot-gcc.sublime-build" "$SUBLIME_CONFIG_FILE"
|
sudo cp "$1/sublime/iflbot-gcc.sublime-build" "$SUBLIME_CONFIG_FILE"
|
||||||
|
|
||||||
### Desktop Files
|
### Desktop Files
|
||||||
mv "$1/example/" "/home/${user}/Masaüstü/C_Kodları/"
|
DESKTOP_CODE_FOLDER="/home/${user}/Masaüstü/C_Kodları/"
|
||||||
|
if [ ! -d "$DESKTOP_CODE_FOLDER" ]; then
|
||||||
|
mv "$1/example/" "$DESKTOP_CODE_FOLDER"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue