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