setup: exit setup script correctly regardless of how it was called
Add helper function to detect whether script was executed or sourced and choose the correct exit strategy.
As of 8 April 2024, the git.seco.com instance was upgraded to the Premium version. External users and SECO customers who need access to private groups or repositories can make a request by contacting SECO support team via the ticketing platform (https://support.seco.com/).
Add helper function to detect whether script was executed or sourced and choose the correct exit strategy.