summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_disabled.subr
blob: 43cef71fc41b7c71e8761d85cd681fc7f222afe9 (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