~razzi/ronin

cf65be599d50135e5b3fab4b73f5a85a04a92d54 — Razzi Abuissa 4 months ago e22e169 main
Move files to /usr/local/libexec/ronin and add uninstall command
3 files changed, 13 insertions(+), 3 deletions(-)

M .fpm
M Makefile
M ronin
M .fpm => .fpm +0 -1
@@ 11,4 11,3 @@ ronin=/usr/local/bin/ronin
setup-ssh.exp=/usr/libexec/ronin/setup-ssh.exp
setup-ssh.sh=/usr/libexec/ronin/setup-ssh.sh
guest-setup.sh=/usr/libexec/ronin/guest-setup.sh


M Makefile => Makefile +12 -1
@@ 14,8 14,19 @@ ssh:
launch:
	./ronin launch

source := $(shell pwd)
ronin_libexec := /usr/local/libexec/ronin

install:
	ln -s $(shell pwd)/ronin /usr/local/bin
	ln -s $(source)/ronin /usr/local/bin
	mkdir $(ronin_libexec)
	ln -s $(source)/setup-ssh.exp $(ronin_libexec)
	ln -s $(source)/setup-ssh.sh $(ronin_libexec)
	ln -s $(source)/guest-setup.sh $(ronin_libexec)

uninstall:
	rm /usr/local/bin/ronin
	rm -r /usr/libexec/ronin/

deb:
	fpm

M ronin => ronin +1 -1
@@ 4,7 4,7 @@
test ! -z "$RONIN_DEBUG" && set -ex

RONIN_DISK="$HOME/.ronin/ronin-disk.qcow2"
RONIN_LIBEXEC=/usr/libexec/ronin
RONIN_LIBEXEC=/usr/local/libexec/ronin

ronin_setup() {
  mkdir -p ~/.cache/ronin && \