mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[microdecision] Show apt and rpi-update logs in stdin
This commit is contained in:
parent
8250bba120
commit
4c924e83b8
1 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ function apt_get_wrapper() {
|
|||
-- \
|
||||
apt-get $*
|
||||
else
|
||||
apt-get $* >> $YUNOHOST_LOG 2>&1
|
||||
apt-get $* 2>&1 | tee -a $YUNOHOST_LOG
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -239,7 +239,7 @@ function upgrade_system() {
|
|||
|| return 3
|
||||
|
||||
if [[ "$BUILD_IMAGE" != "1" ]] ; then
|
||||
rpi-update >> $YUNOHOST_LOG 2>&1 \
|
||||
(rpi-update 2>&1 | tee -a $YUNOHOST_LOG) \
|
||||
|| return 4
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue