Permalink
Browse files

Update postmirror.sh (description and example).

  • Loading branch information...
1 parent bf480a5 commit 6c11ce93966143d5c2df5b45a43ee8912a8f1575 @bdrung bdrung committed Feb 22, 2014
Showing with 9 additions and 9 deletions.
  1. +9 −9 postmirror.sh
View
@@ -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/

0 comments on commit 6c11ce9

Please sign in to comment.