summaryrefslogtreecommitdiff
path: root/create-repo
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 21:33:20 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 21:33:20 -0400
commitaae3b0a2490d65832547f29327f9e8828442a48d (patch)
tree29b554ba243e1d97e3104c6c18d9838d6c4fc250 /create-repo
parentd433fbd1da44acdf3dd50abce428fe57912f9fa7 (diff)
cleanup:
- move some config into config.local.* - `mv createrepos db-init` - `mv {,db-}check-package-libraries.py` - `mv `list_nonfree_in_db.py db-list-nonfree.py` - `rm abslibre`: To be replaced by XBS+update abs tarballs script - `rm create-repo mkrepo`: Both did the same thing, just fancy `mkdir` - `rm `testing2x`: Just use db-move.
Diffstat (limited to 'create-repo')
-rwxr-xr-xcreate-repo21
1 files changed, 0 insertions, 21 deletions
diff --git a/create-repo b/create-repo
deleted file mode 100755
index 3feb098..0000000
--- a/create-repo
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-# Creates repository structure
-
-. "$(dirname "$(readlink -e "$0")")/config"
-. "$(dirname "$(readlink -e "$0")")/db-functions"
-
-if [ $# -eq 0 ]; then
- msg "Usage: %s repo1 [repo2 ... repoX]" "${0##*/}"
- exit 1
-fi
-
-msg "Creating repos..."
-for _repo in "$@"; do
- msg2 "Creating [%s]" "${_repo}"
- for _arch in "${ARCHES[@]}"; do
- mkdir -p "${FTP_BASE}/${_repo}/os/${_arch}" || \
- error "Failed creating %s dir" "${_arch}"
- done
-done
-
-msg "Don't forget to add them to the PKGREPOS array on %s" "$(dirname "$(readlink -e "$0")")/config"