fix: create sublime config file if needed

This commit is contained in:
Aliberk Sandıkçı 2023-10-23 23:51:42 +03:00
parent 859a58ed3f
commit 676417d151
Signed by: asandikci
GPG key ID: 25C67A03B5666BC1

View file

@ -14,6 +14,7 @@ xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/size' --type in
### SUBLIME BUILDS
user=$([ -n "$SUDO_USER" ] && echo "$SUDO_USER" || echo "$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"
### Desktop Files