Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-11-22 11:10:30 +01:00
parent 3caf7d24f1
commit 75e29ca57f
6 changed files with 12 additions and 22 deletions

View File

@ -2,7 +2,7 @@ _show_complete()
{
local cur opts node_names all_options opt_line
all_options="
pwnagotchi -h --help -C --config -U --user-config --manual --skip-session --clear --debug --version --print-config --check-update --donate {plugins}
pwnagotchi -h --help -C --config -U --user-config --manual --skip-session --clear --debug --version --print-config --check-update --donate {plugins,google}
pwnagotchi plugins -h --help {list,install,enable,disable,uninstall,update,upgrade}
pwnagotchi plugins list -i --installed -h --help
pwnagotchi plugins install -h --help

View File

@ -284,13 +284,13 @@
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
when: golang.changed
- name: download pwngrid 1.10.4
- name: download pwngrid
git:
repo: "{{ packages.opwngrid.source }}"
dest: /usr/local/src/opwngrid
register: pwngrid
- name: install pwngrid 1.10.4
- name: install pwngrid
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
args:
executable: /bin/bash

View File

@ -398,7 +398,7 @@
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
when: golang.changed
- name: download opwngrid 1.10.4
- name: download opwngrid
unarchive:
remote_src: yes
src: "{{ packages.opwngrid.url }}"

View File

@ -370,12 +370,12 @@
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
when: golang.changed
- name: download opwngrid 1.10.4
- name: download opwngrid
git:
repo: "{{ packages.opwngrid.source }}"
dest: /usr/local/src/opwngrid
- name: install opwngrid 1.10.4
- name: install opwngrid
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
args:
executable: /bin/bash