sshin/setup.sh

4 lines
234 B
Bash

mkdir ~/.local/share/sshin
[[ -e ~/.local/share/sshin/port_association ]] || cp port_association ~/.local/share/sshin/
cp sshin ~/.local/bin || echo "Error in copying executable to ~/.local/bin" && echo "Run: sudo cp sshin /usr/bin/"