Skip to content

Commit a81ed12

Browse files
committed
fix
1 parent d847b52 commit a81ed12

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Github/Runners/bootstrap/debian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ set -x
3434
locale-gen "en_US.UTF-8"
3535
echo "debconf debconf/frontend select Noninteractive" | debconf-set-selections
3636
apt purge locales perl -y ; apt autoremove -y ; apt autoclean -y
37-
curl -qfsSL "https://raw.githubusercontent.com/VHSgunzo/runimage-fake-sudo-pkexec/refs/heads/main/usr/bin/sudo" -o "/usr/bin/sudo" && chmod -v "a+x" "/usr/bin/sudo"
37+
curl -kqfsSL "https://raw.githubusercontent.com/VHSgunzo/runimage-fake-sudo-pkexec/refs/heads/main/usr/bin/sudo" -o "./sudo"
38+
mv -fv "./sudo" "/usr/bin/sudo" && chmod -v "a+x" "/usr/bin/sudo"
3839
apt list --installed
3940
apt clean -y
4041
find "/boot" -mindepth 1 -delete 2>/dev/null

Github/Runners/bootstrap/ubuntu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ set -x
3636
locale-gen "en_US.UTF-8"
3737
echo "debconf debconf/frontend select Noninteractive" | debconf-set-selections
3838
apt purge locales perl -y ; apt autoremove -y ; apt autoclean -y
39-
curl -qfsSL "https://raw.githubusercontent.com/VHSgunzo/runimage-fake-sudo-pkexec/refs/heads/main/usr/bin/sudo" -o "/usr/bin/sudo" && chmod -v "a+x" "/usr/bin/sudo"
39+
curl -kqfsSL "https://raw.githubusercontent.com/VHSgunzo/runimage-fake-sudo-pkexec/refs/heads/main/usr/bin/sudo" -o "./sudo"
40+
mv -fv "./sudo" "/usr/bin/sudo" && chmod -v "a+x" "/usr/bin/sudo"
4041
apt list --installed
4142
apt clean -y
4243
find "/boot" -mindepth 1 -delete 2>/dev/null

0 commit comments

Comments
 (0)