Fixed a test syntax error.
[gnucomo.git] / scripts / gnucomo_report
index b41e7bd..3dcf2cc 100755 (executable)
@@ -6,7 +6,7 @@
 # the output to the gnucomo server.
 
 PATH=$PATH:/usr/local/bin
-GNUCOMO_ADDRESS=gnucomo@andromeda.nl
+GNUCOMO_ADDRESS=gnucomo@`dnsdomainname`
 
 if PACKAGER=`which rpm`
 then
@@ -18,7 +18,7 @@ else
    fi
 fi
 
-if [ x$PACKAGER == x ]
+if [ "x$PACKAGER" = x ]
 then
    echo "Packages not available"
 fi