mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +00:00
Merge 4 regular expressions into a single one, this is faster.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6046 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
08d713c412
commit
6ee8f6096d
1 file changed
+1
-4
+1
-4
@@ -144,10 +144,7 @@ endif
|
||||
echo ' Run the following command: rm /usr/lib/$(LIBSHBASENAME)*' ; \
|
||||
echo '******************************************************************************' ; \
|
||||
fi ; \
|
||||
cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '^$(LIBDIR)$$' || \
|
||||
cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '^$(LIBDIR)[[:space:]:,=]' || \
|
||||
cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '[[:space:]:,]$(LIBDIR)$$' || \
|
||||
cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '[[:space:]:,]$(LIBDIR)[[:space:]:,=]' || \
|
||||
cat /etc/ld.so.conf /etc/ld.so.conf.d/*.conf 2>/dev/null | grep -q '\(^\|[[:space:]:,]\)$(LIBDIR)\([[:space:]:,=]\|$$\)' || \
|
||||
( echo '******************************************************************************' ; \
|
||||
echo 'Warning: Library directory $(LIBDIR) is not in /etc/ld.so.conf!' ; \
|
||||
echo ' Add it and run /sbin/ldconfig for the userspace tools to work.' ; \
|
||||
|
||||
Reference in new issue
Block a user