fix: check if folder already exist

This commit is contained in:
Aliberk Sandıkçı 2023-10-23 23:55:26 +03:00
parent 676417d151
commit 5e02f8c63c
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -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