aboutsummaryrefslogtreecommitdiffsponsor
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2024-04-08 15:33:09 -0500
committerSlack Coder <slackcoder@server.ky>2024-04-08 15:33:09 -0500
commitc2267767ca8ed06018d26a45b483c44b7c4234cf (patch)
tree370acc17ae7fb464fc7373fd7b0c01f2b6cd4158
parentccef612f894308f8b3480ca05114e35f34e76a40 (diff)
downloadmirror-c2267767ca8ed06018d26a45b483c44b7c4234cf.tar.xz
create parents
-rwxr-xr-xmirror.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/mirror.sh b/mirror.sh
index 2463115..a31ef09 100755
--- a/mirror.sh
+++ b/mirror.sh
@@ -22,6 +22,7 @@ mirror_files() {
"
# Slackware
+ mkdir --parents "$TARGET/slackware"
rsync $RSYNC_OPTS rsync://mirrors.kernel.org/slackware/slackware-15.0 "$TARGET/slackware/."
rsync $RSYNC_OPTS rsync://mirrors.kernel.org/slackware/slackware-15.0-iso "$TARGET/slackware/."
rsync $RSYNC_OPTS rsync://mirrors.kernel.org/slackware/slackware-current "$TARGET/slackware/."
@@ -29,7 +30,8 @@ mirror_files() {
rsync $RSYNC_OPTS rsync://mirrors.kernel.org/slackware/slackware64-15.0-iso "$TARGET/slackware/."
rsync $RSYNC_OPTS rsync://mirrors.kernel.org/slackware/slackware64-current "$TARGET/slackware/."
- # Taler
+ # GNU
+ mkdir --parents "$TARGET/gnu"
rsync $RSYNC_OPTS rsync://mirror.cedia.org.ec/gnu/gnunet "$TARGET/."
rsync $RSYNC_OPTS rsync://mirror.cedia.org.ec/gnu/taler "$TARGET/."
}