Subversion Repositories SmartDukaan

Rev

Rev 3934 | Rev 4849 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3934 Rev 3943
Line 32... Line 32...
32
touch ${LOGERR}
32
touch ${LOGERR}
33
exec 7>&2           # Link file descriptor #7 with stderr.
33
exec 7>&2           # Link file descriptor #7 with stderr.
34
                    # Saves stderr.
34
                    # Saves stderr.
35
exec 2> ${LOGERR}     # stderr replaced with file ${LOGERR}.
35
exec 2> ${LOGERR}     # stderr replaced with file ${LOGERR}.
36
 
36
 
-
 
37
echo "Updating media files"
-
 
38
echo "======================================================="
-
 
39
cd ${MEDIA_EXPORT_PATH}
-
 
40
rsync -az --delete media-offline/  media
-
 
41
 
-
 
42
echo "Updating document files"
-
 
43
echo "======================================================="
-
 
44
cd ${MEDIA_EXPORT_PATH}
-
 
45
rsync -az --delete documents-offline/  documents
-
 
46
 
37
echo "Updating product list for partners"
47
echo "Updating product list for partners"
38
echo "======================================================="
48
echo "======================================================="
39
cd ${MEDIA_EXPORT_PATH}
49
cd ${MEDIA_EXPORT_PATH}
40
tar -zxf partners.tgz
50
tar -zxf partners.tgz
41
unlink partners
51
unlink partners