mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Update v-update-sys-vesta
This commit is contained in:
parent
4b3343dc9d
commit
687b50b507
1 changed files with 2 additions and 2 deletions
|
@ -45,11 +45,11 @@ if [ -n "$(command -v yum)" ]; then
|
|||
check_result $? "$package update failed" $E_UPDATE
|
||||
else
|
||||
# Update repo
|
||||
apt update -o Dir::Etc::sourcelist="sources.list.d/vesta.list" \
|
||||
apt-get update -o Dir::Etc::sourcelist="sources.list.d/vesta.list" \
|
||||
-o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" -qq
|
||||
|
||||
# Update vesta package
|
||||
apt -y -qq -o Dpkg::Options::="--force-confold" install $package > /dev/null 2>&1
|
||||
apt-get -y -qq -o Dpkg::Options::="--force-confold" install $package > /dev/null 2>&1
|
||||
check_result $? "$package update failed" $E_UPDATE
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue