diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-02-09 23:10:15 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-02-09 23:10:15 +0100 |
| commit | 4c6989a0816815b7d2b79c391ae64deec59a52c4 (patch) | |
| tree | 645d9436a77755dd4731cccdb97d81d297419ee9 | |
| parent | 8385dc317f768321b62d27ce5980f6dbe7634034 (diff) | |
.
| -rwxr-xr-x | install.sh | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -51,10 +51,12 @@ symlink ~/.dotfiles/alacritty ~/.config/alacritty symlink ~/.dotfiles/bspwm ~/.config/bspwm # chromium -symlink ~/.dotfiles/chromium/chromium ~/bin/chromium -cp /usr/share/applications/chromium.desktop ~/.local/share/applications -sed -i "s/^Exec=\\/usr/Exec=$(cd; pwd | sed 's/\//\\\//g')/g" \ - ~/.local/share/applications/chromium.desktop +if [ -f /usr/share/applications/chromium.desktop ]; then + symlink ~/.dotfiles/chromium/chromium ~/bin/chromium + cp /usr/share/applications/chromium.desktop ~/.local/share/applications + sed -i "s/^Exec=\\/usr/Exec=$(cd; pwd | sed 's/\//\\\//g')/g" \ + ~/.local/share/applications/chromium.desktop +fi # claws symlink ~/.dotfiles/claws/claws-mail ~/bin/claws-mail |
