mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
fix: switched caplets folder to /usr/local/share/bettercap to keep cross OS compatibility (fixes bettercap/caplets/issues#25)
This commit is contained in:
parent
6df190a715
commit
3789b21ba1
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -20,7 +20,7 @@ clean:
|
|||
@rm -rf build
|
||||
|
||||
install:
|
||||
@mkdir -p /usr/share/bettercap/caplets
|
||||
@mkdir -p /usr/local/share/bettercap/caplets
|
||||
@cp bettercap /usr/local/bin/
|
||||
@cp bettercap.service /etc/systemd/system/
|
||||
@systemctl daemon-reload
|
||||
|
|
|
@ -23,7 +23,7 @@ type Caplet struct {
|
|||
var (
|
||||
CapletLoadPaths = []string{
|
||||
"./caplets/",
|
||||
"/usr/share/bettercap/caplets/",
|
||||
"/usr/local/share/bettercap/caplets/",
|
||||
}
|
||||
|
||||
cache = make(map[string]*Caplet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue