tuxd3v / ats

90 stars 12 forks source link

`make remove` fails #12

Closed dougcooper closed 5 years ago

dougcooper commented 5 years ago
root@rockpro64:/tmp/ats# make remove
/bin/sh: 1: [: -eq: unexpected operator
/bin/sh: 1: [: -eq: unexpected operator
tuxd3v commented 5 years ago

Hello dougcooper, Noticed that you are not using luarocks.. It has to do with flags in MakeFile language, not been recognised be the shell..

Do this:

systemctl -q stop ats && systemctl disable ats;
sleep 3 && rm -vf /etc/ats.conf && rm -vf /lib/systemd/system/ats.service && rm -vf /usr/local/sbin/ats && rm -vf /usr/local/lib/lua/5.3/ats.so*;

I need to check it.. does it commands above solved your problem?

Regards

dougcooper commented 5 years ago

luarocks was installed. I did inspect your script before posting and ran

rm -vf /etc/ats.conf && rm -vf /lib/systemd/system/ats.service && rm -vf /usr/local/sbin/ats && rm -vf /usr/local/lib/lua/5.3/ats.so*

which worked fine.

tuxd3v commented 5 years ago

Nice to know :)

You could also do a:

luarocks remove ats

And it would remove the tool automatically.. Nice you Succeed

Regards,