OpenToonz - An open-source full-featured 2D animation creation software
C
fixes warnings when library and fxs folders don't exist
keijukainen7c61d8f87c6b
diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txtindex 2b9a0443b..f4463419f 100644--- a/toonz/sources/toonz/CMakeLists.txt+++ b/toonz/sources/toonz/CMakeLists.txt@@ -484,6 +484,14 @@ if [ ! -d \$HOME/.config/OpenToonz/stuff ]; thencp -r \$OPENTOONZ_BASE/share/opentoonz/stuff \$HOME/.config/OpenToonzfi+if [ ! -d \$HOME/.config/OpenToonz/stuff/projects/library ]; then+ mkdir -p \$HOME/.config/OpenToonz/stuff/projects/library+fi++if [ ! -d \$HOME/.config/OpenToonz/stuff/projects/fxs ]; then+ mkdir -p \$HOME/.config/OpenToonz/stuff/projects/fxs+fi+if [ ! -e \$HOME/.config/OpenToonz/SystemVar.ini ]; thencat << EOF > $HOME/.config/OpenToonz/SystemVar.ini[General]