summaryrefslogtreecommitdiffstats
path: root/disk/udev/REPAIR^all^SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'disk/udev/REPAIR^all^SUB_DEPENDS')
-rwxr-xr-xdisk/udev/REPAIR^all^SUB_DEPENDS9
1 files changed, 9 insertions, 0 deletions
diff --git a/disk/udev/REPAIR^all^SUB_DEPENDS b/disk/udev/REPAIR^all^SUB_DEPENDS
new file mode 100755
index 0000000000..f078172d8c
--- /dev/null
+++ b/disk/udev/REPAIR^all^SUB_DEPENDS
@@ -0,0 +1,9 @@
+case "$THIS_SUB_DEPENDS" in
+ EXTRAS) message "${PROBLEM_COLOR}EXTRAS is obsolete, please fix the spell using it${DEFAULT_COLOR}" ;;
+ GUDEV) depends glib2 '--enable-gudev' ;;
+ ACL) depends acl '--enable-udev_acl' ;;
+ HWDB) list_remove UDEV_HWDB '--disable-hwdb'
+ list_add UDEV_HWDB '--enable-hwdb' ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" &&
+ return 1;;
+esac