fix: ota
This commit is contained in:
parent
5672ff56d2
commit
af5ab1f3bd
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user