diff options
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 |
commit | 44e060b5922e77831b7f875011e8f6adb6032ae3 (patch) | |
tree | 4dd186cb107e08418c432b8f5b3fcf25cb373a71 /install | |
parent | df9a6e287c6507e247d65e2720b984356738b3a0 (diff) | |
download | Ishtar-44e060b5922e77831b7f875011e8f6adb6032ae3.tar.bz2 Ishtar-44e060b5922e77831b7f875011e8f6adb6032ae3.zip |
ishtar-prepare-instance: allow copy of example_project behind an link
Diffstat (limited to 'install')
-rwxr-xr-x | install/ishtar-prepare-instance | 3 |
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 |