Skip to content

Commit e139dda

Browse files
committed
case sensitive flag added to find foglamp package in preinst
1 parent 6523c26 commit e139dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rpmbuild/SPECS/foglamp.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ PKG_NAME="foglamp"
5252

5353
is_foglamp_installed () {
5454
set +e
55-
rc=`rpm -qa 2> /dev/null | grep -c ${PKG_NAME}`
55+
rc=`rpm -qa 2> /dev/null | grep -Fx ${PKG_NAME}`
5656
echo $rc
5757
set -e
5858
}

0 commit comments

Comments
 (0)