From a8fd34da19354e51d9b8cd78ba23e375b524bd57 Mon Sep 17 00:00:00 2001 From: Yvo Brevoort Date: Fri, 7 Jun 2024 16:16:57 +0200 Subject: [PATCH] fix script path so it copies the contents of www/* instead of www --- scripts/post-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/post-install.sh b/scripts/post-install.sh index 6a67f5b..bd7737a 100755 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -6,7 +6,7 @@ installSimplyCode() { readonly sSourceDir="${npm_config_local_prefix}/node_modules/simplycode/www" readonly sTargetDir="${npm_config_local_prefix}/simplycode" - cp -fR "${sSourceDir}" "${sTargetDir}" + cp -a "${sSourceDir}" "${sTargetDir}" } if [[ ${BASH_SOURCE[0]} != "${0}" ]]; then