diff options
Diffstat (limited to 'disk/eudev/PRE_SUB_DEPENDS')
-rwxr-xr-x | disk/eudev/PRE_SUB_DEPENDS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/disk/eudev/PRE_SUB_DEPENDS b/disk/eudev/PRE_SUB_DEPENDS new file mode 100755 index 0000000000..d6b5bb94fd --- /dev/null +++ b/disk/eudev/PRE_SUB_DEPENDS @@ -0,0 +1,6 @@ +case $THIS_SUB_DEPENDS in + GUDEV) is_depends_enabled $SPELL glib2 && return 0 ;; + ACL) is_depends_enabled $SPELL acl && return 0 ;; + *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" + return 1;; +esac |