summaryrefslogtreecommitdiff
path: root/www/admin
diff options
context:
space:
mode:
authorRichard Bos <richard@radoeka.nl>2008-02-17 14:15:57 (GMT)
committerRichard Bos <richard@radoeka.nl>2008-02-17 14:15:57 (GMT)
commit2a8c8690fb415bd16e1464f8e3a959fd229818a2 (patch)
tree536d761d3f3fefa6c471f35bbfab982ba37db234 /www/admin
parent6149229b1851ab0d7e8b801f3a17f3512eb0825e (diff)
downloadkolab-webadmin-2a8c8690fb415bd16e1464f8e3a959fd229818a2.tar.gz
moved an openpkg specific rpm package into a test that is enabled when run
on an openpkg installation. This way the page shows up, much faster on native pkg installations
Diffstat (limited to 'www/admin')
-rw-r--r--www/admin/kolab/versions.php.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/admin/kolab/versions.php.in b/www/admin/kolab/versions.php.in
index c0726ae..5456413 100644
--- a/www/admin/kolab/versions.php.in
+++ b/www/admin/kolab/versions.php.in
@@ -44,12 +44,12 @@ $kolabversions = shell_exec('
sort
');
-$kolabpatchedversions = shell_exec("@RPM@ -qa|grep 'kolab[0-9]*$'" );
# This is an openpkg test, difficult to see after make.
# but visible in the vanilla sources.
if ("@WITHOPENPKG@" == "yes") {
- $openpkgversion = shell_exec("@RPM@ -q openpkg");
+ $openpkgversion = shell_exec("@RPM@ -q openpkg");
+ $kolabpatchedversions = shell_exec("@RPM@ -qa|grep 'kolab[0-9]*$'" );
}
$kolabversion = '@kolab_version@';