summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-remove8
-rwxr-xr-xdb-repo-add8
-rwxr-xr-xdb-repo-remove8
3 files changed, 12 insertions, 12 deletions
diff --git a/db-remove b/db-remove
index b44eb33..e7326c0 100755
--- a/db-remove
+++ b/db-remove
@@ -4,13 +4,13 @@
. "$(dirname $0)/config"
if [ $# -ne 3 ]; then
- msg "usage: $(basename $0) <pkgname|pkgbase> <repo> <arch>"
+ msg "usage: $(basename $0) <repo> <arch> <pkgname|pkgbase>"
exit 1
fi
-pkgbase="$1"
-repo="$2"
-arch="$3"
+repo="$1"
+arch="$2"
+pkgbase="$3"
ftppath="$FTP_BASE/$repo/os"
svnrepo="$repo-$arch"
diff --git a/db-repo-add b/db-repo-add
index 53cfc84..8d4a56d 100755
--- a/db-repo-add
+++ b/db-repo-add
@@ -4,13 +4,13 @@
. "$(dirname $0)/config"
if [ $# -ne 3 ]; then
- msg "usage: $(basename $0) <pkgfile> <repo> <arch>"
+ msg "usage: $(basename $0) <repo> <arch> <pkgfile>"
exit 1
fi
-pkgfile="$1"
-repo="$2"
-arch="$3"
+repo="$1"
+arch="$2"
+pkgfile="$3"
ftppath="$FTP_BASE/$repo/os"
diff --git a/db-repo-remove b/db-repo-remove
index b01910f..e55cd07 100755
--- a/db-repo-remove
+++ b/db-repo-remove
@@ -4,13 +4,13 @@
. "$(dirname $0)/config"
if [ $# -ne 3 ]; then
- msg "usage: $(basename $0) <pkgname> <repo> <arch>"
+ msg "usage: $(basename $0) <repo> <arch> <pkgname>"
exit 1
fi
-pkgname="$1"
-repo="$2"
-arch="$3"
+repo="$1"
+arch="$2"
+pkgname="$3"
ftppath="$FTP_BASE/$repo/os"