aboutsummaryrefslogtreecommitdiffstats
path: root/brave/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-17 19:57:50 +0200
committerMattias Andrée <maandree@kth.se>2024-09-17 19:57:50 +0200
commit8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830 (patch)
tree2f27045c4691ae13a732e8a0fdfb05a424b68db8 /brave/Makefile
parent.. (diff)
downloaddotfiles-8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830.tar.gz
dotfiles-8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830.tar.bz2
dotfiles-8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830.tar.xz
Add fix for Brave
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--brave/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/brave/Makefile b/brave/Makefile
new file mode 100644
index 0000000..dc5f0c2
--- /dev/null
+++ b/brave/Makefile
@@ -0,0 +1,14 @@
+.POSIX:
+
+XINITRC_ORDER = 20
+
+install:
+ ../check-installed-shebang brave
+ mkdir -p -- ~/.local/bin
+ test ! -e ~/.local/bin/brave || test -L ~/.local/bin/brave
+ ln -sf -- ~/.dotfiles/brave/brave ~/.local/bin/brave
+
+uninstall:
+ +! ../check-installed brave
+ +! ../check-installed brave-bin
+ -unlink -- ~/.local/bin/brave