/usr/bin/gap.sh is in wims 1:4.07d~dfsg1-1ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/gap
/usr/bin/gap