X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fupdate-gosa;h=c94fe9809fc0b7fc9212729fc86ed57d57cf831b;hb=a7110d88b6bc43b689fe666b99dea504a557714c;hp=6e5eece048256789a46f1e40a9ea5f6b78026f9c;hpb=5390c856a18e2cc7678127617d972a6851e74f91;p=gosa.git diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 6e5eece04..c94fe9809 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -556,15 +556,15 @@ function rescan_images($path, $theme) // Grey image if it is not already one if (preg_match('/grey/', $indexPath)) { echo "!"; - $warnings[]= "Warning: skipped possible grey image $path"; + $warnings[]= "Warning: skipped possible *grey* image $path"; flush(); continue; } - // Grey image if it is not already one - if (preg_match('/new/', $indexPath)) { + // New image if it is not already one + if (preg_match('/new/', $indexPath) && !preg_match('/new\.png$/', $indexPath)) { echo "!"; - $warnings[]= "Warning: skipped possible grey image $path"; + $warnings[]= "Warning: skipped possible *new* image $path"; flush(); continue; }