Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Stifler6996/apt-mirror.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@debian.org>2014-02-22 17:23:48 +0400
committerBenjamin Drung <bdrung@debian.org>2014-02-22 17:23:48 +0400
commit6c11ce93966143d5c2df5b45a43ee8912a8f1575 (patch)
treea643d4e71ef7303ccefc503a3acc28039c0b3bbc
parentbf480a5f36eaafa114f5971b62ade361a90c3c40 (diff)
Update postmirror.sh (description and example).
-rw-r--r--postmirror.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/postmirror.sh b/postmirror.sh
index 0dfa8ad..46e126b 100644
--- a/postmirror.sh
+++ b/postmirror.sh
@@ -1,13 +1,13 @@
#!/bin/sh -e
-## anything in this file gets run AFTER the mirror has been run
-## put your custom post mirror operations in here ( like rsyncing the installer files and running clean.sh automaticly )
+## Anything in this file gets run AFTER the mirror has been run.
+## Put your custom post mirror operations in here (like rsyncing the installer
+## files and running clean.sh automatically)!
-## Example of grabbing the extra translations and installer files from ubuntu ( note rsync needs to be installed
-## and in the path for this example to work correctly )
+## Example of grabbing the extra installer files from Ubuntu (Note: rsync needs
+## to be installed and in the path for this example to work correctly)
-#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/lucid/main/debian-installer /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/lucid/main/
-#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/lucid/main/dist-upgrader-all/ /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/lucid/main/
-#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/lucid/main/i18n/ /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/lucid/main/
-#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/lucid/main/installer-amd64/ /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/lucid/main/
-#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/lucid/main/installer-i386/ /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/lucid/main/
+#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/trusty/main/debian-installer /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/trusty/main/
+#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/trusty/main/dist-upgrader-all/ /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/trusty/main/
+#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/trusty/main/installer-amd64/ /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/trusty/main/
+#rsync --recursive --times --links --hard-links --delete --delete-after rsync://mirror.anl.gov/ubuntu/dists/trusty/main/installer-i386/ /var/spool/apt-mirror/mirror/archive.ubuntu.com/ubuntu/dists/trusty/main/