summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/genpkglist28
1 files changed, 0 insertions, 28 deletions
diff --git a/cron-jobs/genpkglist b/cron-jobs/genpkglist
deleted file mode 100755
index 0b5d76f..0000000
--- a/cron-jobs/genpkglist
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-
-if [ $# -ne 2 ]; then
- echo "usage: $(basename $0) <reponame> <arch>"
- exit 1
-fi
-
-reponame=$1
-arch=$2
-
-##### Arch specific stuff. TODO make this configurable #####
-ftppath="/home/ftp/$reponame/os/$arch/"
-############################################################
-
-if [ ! -d "$ftppath" ]; then
- echo "FTP path '$ftppath' does not exist"
- exit 1
-fi
-
-if [ ! -f /etc/makepkg.conf ]; then
- echo "/etc/makepkg.conf not found! Aborting"
- exit 1
-fi
-
-. /etc/makepkg.conf
-
-cd "$ftppath"
-ls -1 *$PKGEXT