M2 icon indicating copy to clipboard operation
M2 copied to clipboard

Detect TOPCOM package on Arch Linux

Open d-torrance opened this issue 1 year ago • 0 comments

It prepends "topcom-" to just some of the binaries. This means we need to check two binaries (one with the prefix and one without) to distinguish the Arch package from the Debian one (which prepends "topcom-" to everything).

From https://gitlab.archlinux.org/archlinux/packaging/packages/topcom/-/blob/main/PKGBUILD?ref_type=heads:

  for _prog in binomial cross cube cyclic lattice; do
    mv "$pkgdir"/usr/bin/{,topcom-}$_prog
  done

d-torrance avatar Oct 20 '24 13:10 d-torrance