This commit is contained in:
xin 2025-11-10 15:25:19 +08:00
parent 5672ff56d2
commit af5ab1f3bd

View File

@ -63,6 +63,7 @@
libfdk-aac2 \
libldacbt-abr2 \
libldacbt-enc2 \
aria2 \
cloud-guest-utils"
tasks:
@ -83,7 +84,7 @@
shell:
cmd: |
if command -v apt-fast &> /dev/null; then
apt-fast update -y
apt-fast update -y || apt-get update -y
else
apt-get update -y
fi
@ -94,7 +95,7 @@
shell:
cmd: |
if command -v apt-fast &> /dev/null; then
apt-fast install -y {{ packages }}
apt-fast install -y {{ packages }} || apt-get install -y {{ packages }}
else
apt-get install -y {{ packages }}
fi