summaryrefslogtreecommitdiffstats
path: root/patches/u-a-protect-bracket.patch
blob: de74f0dc336592faf2e81ed03f2196f3bbce9ef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur src.orig/utils/update-alternatives.in src/utils/update-alternatives.in
--- src.orig/utils/update-alternatives.in	2019-01-31 04:17:16.000000000 -0500
+++ src/utils/update-alternatives.in	2020-12-07 11:41:18.011162598 -0500
@@ -65,7 +65,7 @@
 }
 
 protect_slashes() {
-	sed -e 's/\//\\\//g'
+	sed -e 's/\//\\\//g; s/\[/\\[/g'
 }
 
 remove_alt() {