Skip to content

Commit a69caad

Browse files
committed
[fix] : Fixed package check
1 parent bee7aa1 commit a69caad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/wizard.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function install_dependencies () {
166166
local checkpkg pkg installed_pkg installed_ver check_pkg
167167

168168
msg "データベースの更新をしています..." "Updating package datebase..."
169-
sudo pacman -Sy
169+
sudo pacman -Sy --config "${pacman_conf}"
170170
installed_pkg=($(pacman -Q | getclm 1))
171171
installed_ver=($(pacman -Q | getclm 2))
172172

@@ -194,7 +194,6 @@ function install_dependencies () {
194194
fi
195195
done
196196
if [[ -n "${install}" ]]; then
197-
sudo pacman -Sy
198197
sudo pacman -S --needed --config "${pacman_conf}" ${install[@]}
199198
fi
200199
echo

0 commit comments

Comments
 (0)