diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-11-03 15:42:12 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-11-03 15:42:12 -0300 |
commit | c60d06e050e929d454b447a3cac3263a83d0a445 (patch) | |
tree | 8e7d779697529f2196f6baee57f4c8a0e605834d | |
parent | 92a8525eb5ed349f95c080c61c821399e3917842 (diff) |
Removed unneeded code
-rwxr-xr-x | db-sync | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -16,23 +16,6 @@ # * make a tarball of files used for forensics # * get files db -# eval this -# *not needed* -BASEURL="ftp://ftp.archlinux.org/\$repo/os/\$arch/\$file" - -# Generates an URL from BASE_URL -# _Params_ -# * repo -# * arch -# * file -eval_url() { - repo="$1" - arch="$2" - file="$3" - - eval "${BASE_URL}" -} - # Returns contents of a repo get_repos() { # Exclude everything but db files @@ -51,11 +34,6 @@ get_repo_content() { sort -u } -# Get the database compression as an extension -get_repo_ext() { - file "$1" | tr A-Z a-z | sed -e "s/^[^:]\+: *\(.z\).*$/.tar.\1/" -e "s/bz/&2" -} - # Prints blacklisted packages get_blacklist() { cut -d ':' -f 1 "${BLACKLIST_FILE}" |