Diff of /branches/mage-next/src/mage4.functions.sh.in
Parent Directory | Revision Log | Patch
revision 385 by niro, Mon Jul 17 20:48:22 2006 UTC | revision 386 by niro, Mon Jul 17 20:52:38 2006 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #!/bin/bash | #!/bin/bash |
2 | # Magellan Linux Installer Functions (mage.functions.sh) | # Magellan Linux Installer Functions (mage.functions.sh) |
3 | # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.20 2006-07-17 20:48:22 niro Exp $ | # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/mage4.functions.sh,v 1.21 2006-07-17 20:52:38 niro Exp $ |
4 | ||
5 | mage_setup() | mage_setup() |
6 | { | { |
# | Line 1187 syncmage() | Line 1187 syncmage() |
1187 | local i | local i |
1188 | for i in ${RSYNC} | for i in ${RSYNC} |
1189 | do | do |
1190 | rsync \ | rsync ${RSYNC_FETCH_OPTIONS} ${i} ${MAGEDIR} |
--recursive \ | ||
--links \ | ||
--perms \ | ||
--times \ | ||
--devices \ | ||
--timeout=600 \ | ||
--verbose \ | ||
--compress \ | ||
--progress \ | ||
--stats \ | ||
--delete \ | ||
--delete-after \ | ||
${i} ${MAGEDIR} | ||
1191 | if [[ $? = 0 ]] | if [[ $? = 0 ]] |
1192 | then | then |
1193 | break | break |
|