Skip to content

Commit ce3d00e

Browse files
committed
[update] : Added db update to fullbuild
1 parent 4a2f87f commit ce3d00e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tools/fullbuild.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ build() {
106106
fi
107107
fi
108108
fi
109-
sudo pacman -Sccc --noconfirm > /dev/null 2>&1
109+
110+
if [[ "${simulation}" = false ]]; then
111+
sudo pacman -Sccc --noconfirm > /dev/null 2>&1
112+
fi
110113
}
111114

112115
_help() {
@@ -189,6 +192,11 @@ if [[ ! -d "${work_dir}" ]]; then
189192
mkdir -p "${work_dir}"
190193
fi
191194

195+
if [[ "${simulation}" = false ]]; then
196+
msg_info "Update the package database."
197+
sudo pacman -Syy
198+
fi
199+
192200
for cha in ${channnels[@]}; do
193201
for arch in ${architectures[@]}; do
194202
for lang in ${locale_list[@]}; do

0 commit comments

Comments
 (0)