diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa
index 1a9a0f1d9e4069e2cd96afa988fdce20d5a4c270..c94fe9809fc0b7fc9212729fc86ed57d57cf831b 100755 (executable)
--- a/gosa-core/update-gosa
+++ b/gosa-core/update-gosa
}
// New image if it is not already one
- if (preg_match('/new/', $indexPath)) {
+ if (preg_match('/new/', $indexPath) && !preg_match('/new\.png$/', $indexPath)) {
echo "!";
$warnings[]= "Warning: skipped possible *new* image $path";
flush();