summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-12 00:14:39 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-12 00:14:39 -0600
commit123e7560e49e04f9fdd552f9dc47bcedea2ea128 (patch)
tree1b759f3fb9e4bab24450cbef83067eab48838e4f
parent179acc5b66a610a4e9bf584e1b613b886e12cec0 (diff)
Quiet down repo-add just a bit
This assumes the -q flag patch is accepted for pacman 8) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xdb-move4
-rwxr-xr-xdb-remove2
-rwxr-xr-xdb-update2
3 files changed, 4 insertions, 4 deletions
diff --git a/db-move b/db-move
index 7fab215..ff9677b 100755
--- a/db-move
+++ b/db-move
@@ -84,7 +84,7 @@ if [ -d "$packagename/repos/$svnrepo_from" ]; then
# copy the db file into our working area
if [ -f "$ftppath_from/$repofrom.db.tar.$DB_COMPRESSION" ]; then
/bin/cp "$ftppath_from/$repofrom.db.tar.$DB_COMPRESSION" .
- /usr/bin/repo-remove "$repofrom.db.tar.$DB_COMPRESSION" $packagename || die "Error in repo-remove"
+ /usr/bin/repo-remove -q "$repofrom.db.tar.$DB_COMPRESSION" $packagename || die "Error in repo-remove"
#use '*' to move the old DB too
mv $repofrom.db.tar.$DB_COMPRESSION* $ftppath_from
echo " Package files will be cleaned up automatically"
@@ -95,7 +95,7 @@ if [ -d "$packagename/repos/$svnrepo_from" ]; then
fi
/bin/cp "$ftppath_from/$_pkgfile" .
- /usr/bin/repo-add "$repoto.db.tar.$DB_COMPRESSION" $_pkgfile || die "Error in repo-add"
+ /usr/bin/repo-add -q "$repoto.db.tar.$DB_COMPRESSION" $_pkgfile || die "Error in repo-add"
#use '*' to move the old DB too
mv $repoto.db.tar.$DB_COMPRESSION* $_pkgfile $ftppath_to
else
diff --git a/db-remove b/db-remove
index c5b6819..acc849d 100755
--- a/db-remove
+++ b/db-remove
@@ -74,7 +74,7 @@ fi
echo " Removing from $reponame DB file"
cd build/
-/usr/bin/repo-remove "$reponame.db.tar.$DB_COMPRESSION" $packagename
+/usr/bin/repo-remove -q "$reponame.db.tar.$DB_COMPRESSION" $packagename
/bin/cp "$reponame.db.tar.$DB_COMPRESSION" "$ftppath/"
diff --git a/db-update b/db-update
index 0c2d1fe..40c5539 100755
--- a/db-update
+++ b/db-update
@@ -142,7 +142,7 @@ if [ -n "$ADDPKGS" ]; then
pkgs=""
for pkg in $to_add; do pkgs="$pkgs $(basename $pkg)"; done
- /usr/bin/repo-add "$reponame.db.tar.$DB_COMPRESSION" $pkgs
+ /usr/bin/repo-add -q "$reponame.db.tar.$DB_COMPRESSION" $pkgs
else
rm -f "build/$reponame.db.tar.$DB_COMPRESSION"
echo "Errors found when adding packages"