Silence a spurious warning caused by an attempt to check if
an rpm of xscreensaver is already installed on a linux system. This is a no-op for us, but users have complained about the warning.
This commit is contained in:
parent
7fc039b375
commit
11ec8fb1bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57649
@ -20,4 +20,18 @@
|
||||
+#fi
|
||||
|
||||
|
||||
|
||||
@@ -11658,8 +11658,12 @@
|
||||
|
||||
# M4 sucks!!
|
||||
|
||||
-rpmv=`(rpm -qv xscreensaver) 2>&- | \
|
||||
+case `uname` in
|
||||
+[Ll]inux)
|
||||
+ rpmv=`(rpm -qv xscreensaver) 2>&- | \
|
||||
sed -n 's/^xscreensaver-\([0-9][0-9]*[.][0-9][0-9]*\)-.*$/\1/p'`
|
||||
+ ;;
|
||||
+esac
|
||||
|
||||
|
||||
if test \! -z "$rpmv" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user