mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[fix] Remove unneeded code
This commit is contained in:
parent
2ee7d57f21
commit
fc568f1f30
1 changed files with 0 additions and 5 deletions
|
@ -101,10 +101,6 @@ apt_get_wrapper() {
|
|||
}
|
||||
|
||||
upgrade_system() {
|
||||
if is_raspbian ; then
|
||||
# https://github.com/RPi-Distro/raspberrypi-sys-mods/issues/6#issuecomment-254902333
|
||||
sed -i 's/frontend=pager/frontend=text/' /etc/apt/listchanges.conf
|
||||
fi
|
||||
|
||||
apt_get_wrapper update \
|
||||
|| return 1
|
||||
|
@ -120,7 +116,6 @@ upgrade_system() {
|
|||
rpi-update \
|
||||
|| return 4
|
||||
|
||||
sed -i 's/frontend=text/frontend=pager/' /etc/apt/listchanges.conf
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue