thombashi / tcconfig

A tc command wrapper. Make it easy to set up traffic control of network bandwidth/latency/packet-loss/packet-corruption/etc. to a network-interface/Docker-container(veth).
https://tcconfig.rtfd.io/
MIT License
792 stars 85 forks source link

.deb packages install files into `/usr/local` #183

Open Lastique opened 6 months ago

Lastique commented 6 months ago

Describe the bug

As was reported in https://github.com/thombashi/tcconfig/commit/e373d8ce616d061324666dbbc2f2ca5df942724f, the released .deb packages install executables into /usr/local/bin, which is not the normal location for executables installed by packages.

Expected behavior

Executables should be installed in /usr/bin.

To Reproduce

  1. dpkg -i tcconfig_0.28.1_jammy_amd64.deb
  2. which tcshow

Environments

Kubuntu 22.04, tcconfig_0.28.1_jammy_amd64.deb.