Bugzilla – Bug 1197378
coreutils: add SUSE DIR_COLORS to package
Last modified: 2022-03-22 08:55:30 UTC
aaa_base contains an /etc/DIR_COLORS (https://github.com/openSUSE/aaa_base/blob/master/files/etc/DIR_COLORS). It seems outdated, in the wrong location and in the wrong package anyway as ls is in coreutils :-) Similarly https://github.com/openSUSE/aaa_base/blob/master/files/usr/etc/profile.d/ls.bash#L6 should move to coreutils. The aliases can stay in aaa_base so they work with busybox too. So we could move /etc/DIR_COLORS from aaa_base to /usr/etc/DIR_COLORS in coreutils. Alternatively and even better would be to just fix the compiled in color table and not bother parsing an extra file by default. Looks like the SUSE change is mostly to remove the bold attribute from normal file types. So a patch should be easy. WDYT?