* branch with the last version of WhiteStork - before changing name to final mDictionary
[mdictionary] / generate_repo
1 #!/bin/sh
2
3 test=`arch | tr -d [:space:]`
4 case $test in
5         i686) ARCH=i386;;
6         arm) ARCH=armel;;
7 esac
8
9 echo $ARCH
10 install -d $1/dists/mistral/free/binary-$ARCH
11 cp *.deb $1/dists/mistral/free/binary-$ARCH
12 cd $1 && dpkg-scanpackages dists/mistral/free/binary-$ARCH /dev/null | gzip -9c > dists/mistral/free/binary-$ARCH/Packages.gz