Skip to content

Commit

Permalink
1.54.1.sh: Make sure zstd is installed before running apt-get upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
theCalcaholic authored May 9, 2024
1 parent 3897e46 commit 66c1601
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion updates/1.54.1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ do
[ -f "$aptlist" ] && sed -i -e "s/#deb /deb /g" "$aptlist"
done
echo "done"
sudo apt-get update && sudo bash -c 'DEBIAN_FRONTEND=noninteractive apt-get upgrade -y'

apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends zstd

. /etc/os-release

if [[ "$VERSION_ID" -eq 12 ]]
then
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
rm -f /usr/local/etc/ncp-recommended.cfg
fi

0 comments on commit 66c1601

Please sign in to comment.