aboutsummaryrefslogtreecommitdiff
path: root/contrib/slackbuild/mirror.SlackBuild
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2024-10-21 08:59:36 -0500
committerSlack Coder <slackcoder@server.ky>2024-10-21 08:59:36 -0500
commitdd3d5cfc0014e5f7ce529602cac09a1de41bdc3d (patch)
tree979d8c5f64fb5c537a79d8473d094a6796c7e889 /contrib/slackbuild/mirror.SlackBuild
parent001262c0fff1944e1238362d510051bb50bb6b13 (diff)
downloadmirror-dd3d5cfc0014e5f7ce529602cac09a1de41bdc3d.tar.xz
Support multiple config files
Read files from /etc/mirror/conf.d.
Diffstat (limited to 'contrib/slackbuild/mirror.SlackBuild')
-rw-r--r--contrib/slackbuild/mirror.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/slackbuild/mirror.SlackBuild b/contrib/slackbuild/mirror.SlackBuild
index 9dadca2..fb1b92e 100644
--- a/contrib/slackbuild/mirror.SlackBuild
+++ b/contrib/slackbuild/mirror.SlackBuild
@@ -64,6 +64,7 @@ mkdir -p "$PKG/etc/rc.d"
cat "$CWD/rc.mirror" > "$PKG/etc/rc.d/rc.mirror.new"
mkdir -p $PKG/etc/mirror
cat "$CWD/mirror.toml" > "$PKG/etc/mirror/mirror.toml.new"
+mkdir -p $PKG/etc/mirror/conf.d
mkdir -p "$PKG/var/log/mirror"
cd "$PKG"