summaryrefslogtreecommitdiff
path: root/fullpkg
diff options
context:
space:
mode:
Diffstat (limited to 'fullpkg')
-rwxr-xr-xfullpkg7
1 files changed, 3 insertions, 4 deletions
diff --git a/fullpkg b/fullpkg
index 775ae0c..7e75afc 100755
--- a/fullpkg
+++ b/fullpkg
@@ -340,11 +340,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