diff --git a/imageroot/update-module.d/10create-upload.ini b/imageroot/update-module.d/10create-upload.ini new file mode 100755 index 0000000..cec7584 --- /dev/null +++ b/imageroot/update-module.d/10create-upload.ini @@ -0,0 +1,14 @@ +#!/bin/bash + +# +# Copyright (C) 2023 Nethesis S.r.l. +# SPDX-License-Identifier: GPL-3.0-or-later +# + +# This script is used to create a uploads.ini fro php directives + +if [[ -f config/uploads.ini ]]; then + echo "config/uploads.ini already exists, skipping" + exit 0 +fi +../actions/create-module/10uploads.ini