summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."