summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-11-21 07:42:24 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2008-11-21 07:42:24 +0100
commit836152eed8893d6884796363419ce61ea7b7b417 (patch)
treeb3ce0cc29ca70cf75d3aaa686269557a91b735da /cron-jobs
parent07ec0708d31794221bec7ee3e7f07755707fd36a (diff)
downloaddbscripts-836152eed8893d6884796363419ce61ea7b7b417.tar.gz
dbscripts-836152eed8893d6884796363419ce61ea7b7b417.tar.xz
Remove unused cron-job 'genpkglist'
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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