Update bad return on os flatpak check
This commit is contained in:
parent
11da80708b
commit
deb8d825a8
|
@ -53,7 +53,9 @@ runOsHook() {
|
|||
opensuse-tumbleweed) "${scriptPath}/os_suse" "$hook";;
|
||||
esac
|
||||
|
||||
command -v flatpak &>/dev/null && "${scriptPath}/flatpak" "$hook"
|
||||
if command -v flatpak &>/dev/null; then
|
||||
"${scriptPath}/flatpak" "$hook"
|
||||
fi
|
||||
fi
|
||||
return $?
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue