summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLars Müller2006-10-28 15:27:42 +0200
committerLars Müller2006-10-28 15:27:42 +0200
commit8f2fffa56e377d1436679a67c38d88742732d28e (patch)
tree59285f2887985271608acaf7de17ae8c66108305 /Makefile
parentchanged default session chooser and vmware image chooser. (diff)
downloadcore-8f2fffa56e377d1436679a67c38d88742732d28e.tar.gz
core-8f2fffa56e377d1436679a67c38d88742732d28e.tar.xz
core-8f2fffa56e377d1436679a67c38d88742732d28e.zip
Don't overwrite an existing settings.local file.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@474 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 40241dc2..db6972ae 100644
--- a/Makefile
+++ b/Makefile
@@ -174,8 +174,9 @@ functions via\n# inclusion: '. /etc/functions' ..." \
\nSLX_TFTPBOOT_PATH=${SLX_TFTPBOOT_PATH}\
\nSLX_VMWARE_PATH=${SLX_VMWARE_PATH}\n" \
> $(SLX_CONFIG_PATH)/settings.default
- @echo -e "# local setup for openslx (overrides settings.default)\n" \
- > $(SLX_CONFIG_PATH)/settings.local
+ @test -e $(SLX_CONFIG_PATH)/settings.local || \
+ echo -e "# local setup for openslx (overrides settings.default)\n" \
+ > $(SLX_CONFIG_PATH)/settings.local
@# create slxversion script:
@OPENSLX_VERSION_SVNREV=$$(svnversion) . VERSIONS; \