mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
myvesta update log
This commit is contained in:
parent
a26687e946
commit
09ed586b5d
1 changed files with 2 additions and 2 deletions
|
@ -45,10 +45,10 @@ 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" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" > /usr/local/vesta/log/update.log 2>&1
|
||||
apt-get update -o Dir::Etc::sourcelist="sources.list.d/vesta.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" > /usr/local/vesta/log/update-$package.log 2>&1
|
||||
|
||||
# Update vesta package
|
||||
apt-get -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-confmiss" install $package >> /usr/local/vesta/log/update.log 2>&1
|
||||
apt-get -y -qq -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-confmiss" install $package >> /usr/local/vesta/log/update-$package.log 2>&1
|
||||
check_result $? "$package update failed" $E_UPDATE
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue