summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-01-31 15:44:44 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-07-01 18:02:28 +0200
commit8ee90c1fccdf246a1d9e37b30097ef54e0f53b38 (patch)
tree4dd186cb107e08418c432b8f5b3fcf25cb373a71 /install
parent60d31f5cb93ddba667bd9128256013d9fbb760ef (diff)
downloadIshtar-8ee90c1fccdf246a1d9e37b30097ef54e0f53b38.tar.bz2
Ishtar-8ee90c1fccdf246a1d9e37b30097ef54e0f53b38.zip
ishtar-prepare-instance: allow copy of example_project behind an link
Diffstat (limited to 'install')
-rwxr-xr-xinstall/ishtar-prepare-instance3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ishtar-prepare-instance b/install/ishtar-prepare-instance
index fe1ba7628..55c66df33 100755
--- a/install/ishtar-prepare-instance
+++ b/install/ishtar-prepare-instance
@@ -182,7 +182,8 @@ EOF
cecho y " * duplicate example_project into our instance"
# Duplicate example_project into our instance:
cd $ISHTAR_PATH
- cp -ra example_project $INSTANCE
+ mkdir -p $INSTANCE
+ cp -ra example_project/* $INSTANCE/
rm $INSTANCE/settings.py
ln -s $DEST/example_project/settings.py $DEST/$INSTANCE/settings.py