summaryrefslogtreecommitdiff
path: root/repo-update
blob: ff7f8e0f3cee9a955d90f2afd7870287fc9e573c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

source ~/.bashrc # the PATH is updated here

# Updates free/ databases and releases packages on free/staging
# Also moves old packages to the old/packages dir
~/repm/db-update
~/repm/cron-jobs/ftpdir-cleanup

# Syncs repos
#python ~/usr/bin/repo-maintainer
python ~/repm/pato2.py

# Copy free/pool to repo/pool
#for dir in community core extra libre libre-testing pool social sources sugar; do
#    rsync -va --recursive --copy-links /home/parabolavnx/parabolagnulinux.org/free/$dir /home/parabolavnx/parabolagnulinux.org/repo/
#done

# Hide unfree packages on apache's dir view
#~/usr/bin/hide_unfree

~/repm/sync-free
find ~/parabolagnulinux.org/repo -name '*.abs.tar.gz' -delete

exit 0