Skip to content

Commit

Permalink
ㅤ⚡️ BUMP ⚡️ㅤ ㅤ2 files ↑5 ↓5ㅤ
Browse files Browse the repository at this point in the history
  • Loading branch information
borestad committed Oct 26, 2024
1 parent 3038d90 commit 4fed8f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/ciutil
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ path-exclude /usr/share/man/*
EOF

echo "✔ [install-deb]: $pkgs"
sudo eatmydata -- apt-get clean
sudo /usr/local/bin/apt-get clean
sudo eatmydata -- dpkg --clear-avail
sudo eatmydata -- apt-get -qq install --download-only -y $pkgs || exitcode=$?
sudo /usr/local/bin/apt-get -qq install --download-only -y $pkgs || exitcode=$?

if [ ! $exitcode -eq 0 ]; then
echo "[install-deb]: ❌ Error downloading $pkgs"
echo "[install-deb]: (1/2) Retrying with apt-get update: $pkgs"
sudo eatmydata -- apt-get update
sudo /usr/local/bin/apt-get update

echo "[install-deb]: (2/2) Retrying with apt-get --download-only: $pkgs"
sudo eatmydata -- apt-get -qq install --download-only -y $pkgs || exit 1
sudo /usr/local/bin/apt-get -qq install --download-only -y $pkgs || exit 1
fi

echo "✔ [install-deb]: Extracting *.deb: $pkgs"
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/ga-optimize-runner
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo 'force-unsafe-io' | sudo tee -a /etc/dpkg/dpkg.cfg > /dev/null
# Enforce dpkg/apt/apt-get to not use fsync
(
echo -e '#!/bin/sh\nexec eatmydata /usr/bin/dpkg $@' | sudo tee /usr/local/bin/dpkg && sudo chmod +x /usr/local/bin/dpkg
echo -e '#!/bin/sh\nexec eatmydata /usr/binc/apt $@' | sudo tee /usr/local/bin/apt && sudo chmod +x /usr/local/bin/apt
echo -e '#!/bin/sh\nexec eatmydata /usr/bin/apt $@' | sudo tee /usr/local/bin/apt && sudo chmod +x /usr/local/bin/apt
echo -e '#!/bin/sh\nexec eatmydata /usr/bin/apt-get $@' | sudo tee /usr/local/bin/apt-get && sudo chmod +x /usr/local/bin/apt-get
echo -e '#!/bin/sh\nexec /usr/bin/sudo LD_PRELOAD=/usr/lib/libeatmydata.so $@' | /usr/bin/sudo tee /usr/local/bin/apt-get && /usr/bin/sudo chmod +x /usr/local/bin/apt-get
) &>/dev/null
Expand Down

0 comments on commit 4fed8f0

Please sign in to comment.