summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_disabled.subr
blob: 3b5a30819b0d2090d84cfab864c2b03ff5c773a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#
# set -o errexit -o noglob are assumed.
#

pkg_disabled() {
	if [ "${PKG_DISABLED:-0}" -eq 1 ]; then
		exit 0;
	fi;
};

# vim:filetype=sh