fix: create sublime config file if needed
This commit is contained in:
parent
859a58ed3f
commit
676417d151
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/size' --type in
|
||||||
### SUBLIME BUILDS
|
### SUBLIME BUILDS
|
||||||
user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER")
|
user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$USER")
|
||||||
SUBLIME_CONFIG_FILE="/home/${user}/.config/sublime-text/Packages/User/"
|
SUBLIME_CONFIG_FILE="/home/${user}/.config/sublime-text/Packages/User/"
|
||||||
|
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ı/"
|
mv "$1/example/" "/home/${user}/Masaüstü/C_Kodları/"
|
||||||
|
|
Loading…
Reference in a new issue