Keep sudo alive during updates and repo migration
This commit is contained in:
1 parent
1787f6d9af
commit
501d066e64
2 files changed
+2
-2
No files matched your search
@@ -103,7 +103,7 @@ echo
|
|||||||
read -rp "Apply all of the above? [y/N] " answer
|
read -rp "Apply all of the above? [y/N] " answer
|
||||||
[[ $answer == [yY] ]] || exit 0
|
[[ $answer == [yY] ]] || exit 0
|
||||||
|
|
||||||
blob-sudo-keepalive
|
source blob-sudo-keepalive
|
||||||
|
|
||||||
for pair in "${substitutions[@]}"; do
|
for pair in "${substitutions[@]}"; do
|
||||||
from=${pair%%:*}
|
from=${pair%%:*}
|
||||||
|
|||||||
+1
-1
@@ -212,7 +212,7 @@ fi
|
|||||||
show_pending
|
show_pending
|
||||||
confirm_update
|
confirm_update
|
||||||
|
|
||||||
blob-sudo-keepalive
|
source blob-sudo-keepalive
|
||||||
|
|
||||||
begin_step "Refreshing the keyring"
|
begin_step "Refreshing the keyring"
|
||||||
sudo pacman -Sy --needed --noconfirm archlinux-keyring
|
sudo pacman -Sy --needed --noconfirm archlinux-keyring
|
||||||
|
|||||||
Reference in new issue
Block a user