summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 05d0bc9)
raw | patch | inline | side by side (parent: 05d0bc9)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Apr 2008 10:10:05 +0000 (10:10 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Apr 2008 10:10:05 +0000 (10:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10405 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/update-gosa | patch | blob | history |
diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa
index e10df6e50823214fd63e726dfd38633f6b7eefa5..def413976a75c5dd2cca0c3457eaede9f750e475 100755 (executable)
--- a/gosa-core/update-gosa
+++ b/gosa-core/update-gosa
$master_guide_content= preg_replace("/[ \t][ \t]*/", " ", $master_guide_content);
- if(is_writable($master_guide)) {
+ if((file_exists($master_guide) && is_writable($master_guide)) || is_writable('doc')) {
file_put_contents($master_guide, $master_guide_content);
}