summaryrefslogtreecommitdiffstats
path: root/testing2x
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-13 09:47:31 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-13 09:47:31 +0200
commita422060414670bb49d2422a38467b73ae01e7ecb (patch)
treef67c7216398ea6bf0aced46828235ca07fdbcf90 /testing2x
parente2c005b490df6762e23da3223944151c17d1de80 (diff)
downloaddbscripts-a422060414670bb49d2422a38467b73ae01e7ecb.tar.gz
dbscripts-a422060414670bb49d2422a38467b73ae01e7ecb.tar.xz
Use common functions to print messages, warnings and errors
These functions are copied from makepkg
Diffstat (limited to 'testing2x')
-rwxr-xr-xtesting2x6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing2x b/testing2x
index bf48be6..3626432 100755
--- a/testing2x
+++ b/testing2x
@@ -22,16 +22,16 @@ for pkg in $*; do
if [ -f "${pkg}/repos/testing-${_arch}/PKGBUILD" ]; then
for repo in core extra; do
if [ -f "${pkg}/repos/${repo}-${_arch}/PKGBUILD" ]; then
- echo "===> Moving package '${pkg}': testing-${_arch} -> ${repo}-${_arch}"
+ msg "Moving package '${pkg}': testing-${_arch} -> ${repo}-${_arch}"
$(dirname $0)/db-move "${pkg}" "testing" "${repo}" "${_arch}"
moved=1
break
fi
done
if [ ${moved} -eq 0 ]; then
- echo "===> Warning: ${pkg} is only in testing-${_arch}, cannot determine where to move it"
+ warning "${pkg} is only in testing-${_arch}, cannot determine where to move it"
fi
else
- echo "===> Warning: ${pkg} is not in testing-${_arch}"
+ warning "${pkg} is not in testing-${_arch}"
fi
done