mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Keep conf files during auto-update
This commit is contained in:
parent
14aad370ac
commit
9d182f292f
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-get update -o Dir::Etc::sourcelist="sources.list.d/vesta.list" \
|
||||
apt 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-get install $package -qq > /dev/null 2>&1
|
||||
apt -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