disable backports on RPi
This commit is contained in:
parent
de805c14d4
commit
eccbbfcf43
7
install
7
install
@ -13,7 +13,7 @@
|
||||
# https://github.com/armbian/config/blob/master/debian-software
|
||||
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
||||
#
|
||||
# version: 1.6.16
|
||||
# version: 1.6.17
|
||||
#
|
||||
|
||||
if [[ $(id -u) -ne 0 ]]; then
|
||||
@ -277,12 +277,9 @@ fi
|
||||
# remove backports from sources.list to avoid duplicate sources warning
|
||||
sed -i "/\(stretch\|buster\)-backports/d" /etc/apt/sources.list
|
||||
|
||||
if [ "${codename}" = "eoan" ]; then
|
||||
omv_set_default "OMV_APT_USE_KERNEL_BACKPORTS" false true
|
||||
fi
|
||||
|
||||
if [ ${rpi} -eq 1 ]; then
|
||||
omv_set_default "OMV_APT_USE_OS_SECURITY" false true
|
||||
omv_set_default "OMV_APT_USE_KERNEL_BACKPORTS" false true
|
||||
fi
|
||||
|
||||
# install omv-extras
|
||||
|
||||
Loading…
Reference in New Issue
Block a user