summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-11-28 02:48:23 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-11-28 02:48:23 -0600
commitd899caa8de20db4b4fca9d74b5f1c077d8008ccc (patch)
tree4c729993c9f1c4c3ab7e5e65d6dbb7fada7c481a
parent23d5590a1efca4ecb31413ef60f55ed5f9af1c88 (diff)
fullpkg noupdate
-rwxr-xr-xfullpkg7
1 files changed, 3 insertions, 4 deletions
diff --git a/fullpkg b/fullpkg
index cf98331..eddf3d5 100755
--- a/fullpkg
+++ b/fullpkg
@@ -348,11 +348,10 @@ if [ ${level} -eq 0 ]; then
touch "${build_dir}"/{log,BUILDORDER}
buildorder="${build_dir}/BUILDORDER"
- if ! (( noupdate )); then
+ if ! noupdate; then
-# Always return true
- msg "Updating pacman db and packages"
- sudo pacman -Syu --noconfirm || true
+ msg "Updating pacman db"
+ sudo pacman -Sy --noconfirm || true
fi