OSDN Git Service

[fix] : Fixed package path.
authorhayao <shun819.mail@gmail.com>
Thu, 7 May 2020 12:04:01 +0000 (21:04 +0900)
committerhayao <shun819.mail@gmail.com>
Thu, 7 May 2020 12:04:01 +0000 (21:04 +0900)
keyring.sh

index 27b1ca3..1e06da9 100755 (executable)
@@ -219,7 +219,7 @@ remove_alter_key() {
 update_arch32_key() {
     pacman -Syy --config "${alter_pacman_conf_i686}"
     pacman -Sw --noconfirm --config "${alter_pacman_conf_i686}" archlinux32-keyring
-    pacman -U --noconfirm $(ls /var/cache/pacman/pkg | grep archlinux32-keyring | tail -n 1)
+    pacman -U --noconfirm $(ls /var/cache/pacman/pkg/* | grep archlinux32-keyring | tail -n 1)
     pacman-key --init
     pacman-key --populate archlinux32
     #pacman-key --refresh-keys