summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-28 16:30:57 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-28 16:30:57 -0300
commit1a1d969ece21e9748ed24c8cc7c88d86c3f39b19 (patch)
tree490313fa0871d9a6feeae94b6c19b716c01d26fd /fullpkg
parent850a13383fe16da9784bb3974b2ac4723ceca2ec (diff)
Readded the second db sync and changed error message
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/fullpkg b/fullpkg
index c723f8e..427b606 100755
--- a/fullpkg
+++ b/fullpkg
@@ -171,6 +171,8 @@ update_queue || {
cp -r ../$(basename $PWD) $tmp_dir/
pushd $tmp_dir/$(basename $PWD) >/dev/null
+msg "Syncing database"
+sudo pacman -Sy
makepkg --noconfirm -sLcr ; r=$?
case $r in
@@ -179,7 +181,7 @@ case $r in
mipsrelease *.pkg.tar.*
;;
1)
- error "The build failed."
+ error "There were errors while trying to build the package."
;;
2)
error "The build failed."