diff --git a/sbin/install-hooks/submodule-and-lfs.sh b/sbin/install-hooks/submodule-and-lfs.sh
index afe39e2e3bc049810e8978d4db2deef37281d89c..11b117644f14058a485e9fc39e6b564c49223e9f 100644
--- a/sbin/install-hooks/submodule-and-lfs.sh
+++ b/sbin/install-hooks/submodule-and-lfs.sh
@@ -1,10 +1,13 @@
 #!/bin/bash
-# Copyright (C) 2024 ASTRON (Netherlands Institute for Radio Astronomy)
+#
+# Copyright (C) 2025 ASTRON (Netherlands Institute for Radio Astronomy)
 # SPDX-License-Identifier: Apache-2.0
+#
 
 if [ ! -f "setup.sh" ]; then
   echo "submodule-and-lfs.sh must be executed with repository root as working directory!"
   exit 1
 fi
 
+mkdir .git/hooks/
 cp bin/hooks/* .git/hooks/