Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix installed DE detection in de-info script profiles

  • Loading branch information...
commit bee06b9fe2d996a1bfdacf94a2aff83801849a61 1 parent 98ca661
@yurkis yurkis authored
View
2  src-sh/de-info/de-profiles/gnome.profile
@@ -17,7 +17,7 @@ installed() {
# Check via pc-metapkgmanager if it exists
which pc-metapkgmanager >/dev/null 2>/dev/null
if [ $? -eq 0 ] ; then
- pc-metapkgmanager status GNOME | grep installed >/dev/null
+ pc-metapkgmanager status GNOME | grep "is installed" >/dev/null
if [ $? -eq 0 ] ; then
DE_INSTALLED=1
fi
View
2  src-sh/de-info/de-profiles/kde.profile
@@ -22,7 +22,7 @@ installed()
# Check via pc-metapkgmanager if it exists
which pc-metapkgmanager >/dev/null 2>/dev/null
if [ $? -eq 0 ] ; then
- pc-metapkgmanager status KDE | grep installed >/dev/null
+ pc-metapkgmanager status KDE | grep "is installed" >/dev/null
if [ $? -eq 0 ] ; then
DE_INSTALLED=1
fi
View
2  src-sh/de-info/de-profiles/lxde.profile
@@ -18,7 +18,7 @@ installed()
# Check via pc-metapkgmanager if it exists
which pc-metapkgmanager >/dev/null 2>/dev/null
if [ $? -eq 0 ] ; then
- pc-metapkgmanager status LXDE | grep installed >/dev/null
+ pc-metapkgmanager status LXDE | grep "is installed" >/dev/null
if [ $? -eq 0 ] ; then
DE_INSTALLED=1
fi
View
2  src-sh/de-info/de-profiles/xfce.profile
@@ -19,7 +19,7 @@ installed()
# Check via pc-metapkgmanager if it exists
which pc-metapkgmanager >/dev/null 2>/dev/null
if [ $? -eq 0 ] ; then
- pc-metapkgmanager status XFCE | grep installed >/dev/null
+ pc-metapkgmanager status XFCE | grep "is installed">/dev/null
if [ $? -eq 0 ] ; then
DE_INSTALLED=1
fi
Please sign in to comment.
Something went wrong with that request. Please try again.