summaryrefslogtreecommitdiff
path: root/repo-update
diff options
context:
space:
mode:
Diffstat (limited to 'repo-update')
-rwxr-xr-xrepo-update25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo-update b/repo-update
new file mode 100755
index 0000000..7038789
--- /dev/null
+++ b/repo-update
@@ -0,0 +1,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
+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