Support also development on OpenSuse (#1378)

* Support also OpenSuse. On OpenSuse Leap 15.1, the OSTYPE is simply 'linux'.

* This commit hook should be an executable file
This commit is contained in:
Michiel van der Wulp
2020-10-27 08:26:09 +01:00
committed by GitHub
parent d88506fbc6
commit 6c4b8055f7
2 changed files with 1 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ err() { IFS=" "; >&2 printf "\e[91m%s\e[m\n" "$*"; exit 1; }
is_supported_os()
{
[[ ${1} == darwin* ]] || [[ ${1} == linux-gnu* ]] || [[ ${1} == freebsd ]] || [[ ${1} == msys ]] || [[ ${1} == cygwin ]]
[[ ${1} == darwin* ]] || [[ ${1} == linux* ]] || [[ ${1} == freebsd ]] || [[ ${1} == msys ]] || [[ ${1} == cygwin ]]
}
is_installed()

0
.mystools/hooks/commit-msg.sh Normal file → Executable file
View File