summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 10:58:22 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-04-17 11:10:57 -0400
commitbf2cb9784fe726b163667aaeab541cf7ae7f21a9 (patch)
treedb3706dad0ccfc5ac4fbd43aa6241a689e8e3e96
parent03c3068761682bb1af9c615c91bc30da67fddf06 (diff)
Give things more consistent names.
-rwxr-xr-xdb-check-nonfree (renamed from db-list-nonfree.py)2
-rwxr-xr-xdb-check-package-libraries (renamed from db-check-package-libraries.py)2
-rwxr-xr-xdb-check-unsigned-packages (renamed from db-list-unsigned-packages)2
-rwxr-xr-xdb-check-unsigned-packages.py (renamed from db-list-unsigned-packages.py)0
-rwxr-xr-xdb-import-pick-mirror (renamed from db-pick-mirror)0
-rw-r--r--db-import.conf2
6 files changed, 4 insertions, 4 deletions
diff --git a/db-list-nonfree.py b/db-check-nonfree
index a486fa5..14a108f 100755
--- a/db-list-nonfree.py
+++ b/db-check-nonfree
@@ -5,7 +5,7 @@ import argparse
if __name__ == "__main__":
parser = argparse.ArgumentParser(
- prog="nonfree_in_db",
+ prog="db-check-nonfree",
description="Cleans nonfree files on repo",)
parser.add_argument("-k", "--blacklist-file", type=str,
diff --git a/db-check-package-libraries.py b/db-check-package-libraries
index bc2349b..612fc4f 100755
--- a/db-check-package-libraries.py
+++ b/db-check-package-libraries
@@ -162,7 +162,7 @@ def check(arguments):
def main():
"""Get arguments and run the command."""
from argparse import ArgumentParser
- parser = ArgumentParser(prog="check-package-libraries.py",
+ parser = ArgumentParser(prog="db-check-package-libraries",
description="Check packages for "
"provided/needed libraries")
parser.add_argument("-d", "--database", type=str,
diff --git a/db-list-unsigned-packages b/db-check-unsigned-packages
index 095e1e6..0fc053b 100755
--- a/db-list-unsigned-packages
+++ b/db-check-unsigned-packages
@@ -34,5 +34,5 @@ shift
for repo in "${PKGREPOS[@]}"
do
db="${FTP_BASE}/${repo}/os/${arch}/${repo}.db"
- [ -f "$db" ] && "$(dirname "$(readlink -e "$0")")/db-list-unsigned-packages.py" "$repo" "$@" < "$db"
+ [ -f "$db" ] && "$(dirname "$(readlink -e "$0")")/db-check-unsigned-packages.py" "$repo" "$@" < "$db"
done
diff --git a/db-list-unsigned-packages.py b/db-check-unsigned-packages.py
index 80cff51..80cff51 100755
--- a/db-list-unsigned-packages.py
+++ b/db-check-unsigned-packages.py
diff --git a/db-pick-mirror b/db-import-pick-mirror
index 4d01b95..4d01b95 100755
--- a/db-pick-mirror
+++ b/db-import-pick-mirror
diff --git a/db-import.conf b/db-import.conf
index aaf7b0f..e00e7b0 100644
--- a/db-import.conf
+++ b/db-import.conf
@@ -15,7 +15,7 @@ case "$USER" in
);;
esac
-_archpkgmirror=$(db-pick-mirror rsync https://www.archlinux.org/mirrors/status/tier/1/json/)
+_archpkgmirror=$(db-import-pick-mirror rsync https://www.archlinux.org/mirrors/status/tier/1/json/)
# name pkgmirror absmirror repo-arch...
IMPORTS=("archlinux ${_archpkgmirror} rsync.archlinux.org ${_archrepos[*]}")