From 4ee8b73044589d643a1356edb2b4b694f3d29be0 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Sat, 17 Aug 2024 01:35:06 +0200 Subject: [PATCH] nix/shell: create slideshow dir --- nix/shell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/shell.nix b/nix/shell.nix index d188a68..f879160 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -20,6 +20,10 @@ pkgs.mkShellNoCC { test -e config.php || cp -v dist/config.local.php config.php + if [ ! -d www/galleri/bilder/slideshow ] ; then + mkdir -p www/galleri/bilder/slideshow + fi + if [ ! -d vendor ] ; then composer install || exit $?