Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/editors/bee-host/files/patch-vars.sh
16462 views
1
--- vars.sh.orig 2025-05-06 17:29:25 UTC
2
+++ vars.sh
3
@@ -47,9 +47,9 @@ case "$kernel" in
4
*)
5
if [ $EUID == 0 ]; then
6
# If superuser
7
- chrome_target_manifest_dir='/etc/opt/chrome/native-messaging-hosts'
8
- chromium_target_manifest_dir='/etc/chromium/native-messaging-hosts'
9
- firefox_target_manifest_dir='/usr/lib/mozilla/native-messaging-hosts'
10
+ chrome_target_manifest_dir='%%LOCALBASE%%/chrome/native-messaging-hosts'
11
+ chromium_target_manifest_dir='%%LOCALBASE%%/chromium/native-messaging-hosts'
12
+ firefox_target_manifest_dir='%%LOCALBASE%%/lib/mozilla/native-messaging-hosts'
13
else
14
# If normal user
15
chrome_target_manifest_dir="$HOME/.config/google-chrome/NativeMessagingHosts"
16
17