summaryrefslogtreecommitdiffstats
path: root/db-move
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-12 07:14:39 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-12 07:14:39 +0100
commit123e7560e49e04f9fdd552f9dc47bcedea2ea128 (patch)
tree1b759f3fb9e4bab24450cbef83067eab48838e4f /db-move
parent179acc5b66a610a4e9bf584e1b613b886e12cec0 (diff)
downloaddbscripts-123e7560e49e04f9fdd552f9dc47bcedea2ea128.tar.gz
dbscripts-123e7560e49e04f9fdd552f9dc47bcedea2ea128.tar.xz
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>
Diffstat (limited to 'db-move')
-rwxr-xr-xdb-move4
1 files changed, 2 insertions, 2 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