~vincentxavier/isocustomization/iso-localization

« back to all changes in this revision

Viewing changes to script_francisation.sh

  • Committer: Vincent-Xavier JUMEL
  • Date: 2010-08-30 10:30:12 UTC
  • Revision ID: endymion+ubuntu@thetys-retz.net-20100830103012-z1nin1xfb1iwcckx
Chnaged i386 by $ARCH

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
        exit 1
109
109
    fi
110
110
fi
111
 
ISO=$VERSION-$FLAVOR-i386.iso
 
111
ISO=$VERSION-$FLAVOR-$ARCH.iso
112
112
 
113
113
 
114
114
[ ! -d $DIR ] && mkdir $DIR
127
127
if [ ! $? -eq "0" ]; then
128
128
    echo "Performing rsync in $DIR"
129
129
    rsync -avzhhP rsync://$ISOPATH/$ISO .
 
130
 
130
131
else
131
132
    echo "no need to refresh"
132
 
 
133
133
fi
134
134
md5sum $ISO | sed -e "s/  / */" > $ISO.md5.local
135
135
diff -q $ISO.md5.local $ISO.md5.server