~ubuntu-archive/ubuntu-archive-scripts/trunk

1
2
3
4
5
6
7
8
#! /bin/sh

cd $HOME/public_html/queue

for d in $(find -maxdepth 2 -mindepth 2 -type d); do
    chmod 755 $d
    (cd $d && dpkg-scansources . | gzip -9 > Sources.gz )
done