Closed dinger1986 closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 79.20%. Comparing base (
6586510
) to head (566ce0d
). Report is 7 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
doesn't work, i tested like this ./agent.sh --binpath /opt/trmmtest
and still installed to /usr/local/bin
I'll check it and sort it
sorted, hadnt copied up $2 for some reason sorry! for the line CUSTOM_BIN_PATH="", also moved that next to the others
thanks now just uninstall doesn't cleanup properly, binary is still left behind.
its actually not right anyway, what I have done is basically accept the second argument when running the script as the binpath and thats not right, let me look at it a bit more
reordered alot of parts and added command to find bin location from service file, tested working on debian 11 and 12
for usage like this ./install_script.sh --binpath /my/custom/path
to close this issue https://github.com/amidaware/tacticalrmm/issues/1508