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