improve raspberrypi check
This commit is contained in:
parent
56cf352ed9
commit
46e2abf075
4
install
4
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.3.3
|
||||
# version: 1.3.4
|
||||
#
|
||||
|
||||
if [[ $(id -u) -ne 0 ]]; then
|
||||
@ -162,7 +162,7 @@ fi
|
||||
|
||||
# Add Debian signing keys to raspbian to prevent apt-get update failures
|
||||
# when OMV adds security and/or backports repos
|
||||
if grep -q raspberrypi.org /etc/apt/sources.list.d/*; then
|
||||
if grep -rq raspberrypi.org /etc/apt/*; then
|
||||
echo "Adding Debian signing keys..."
|
||||
for key in AA8E81B4331F7F50 112695A0E562B32A 04EE7237B7D453EC 648ACFD622F3D138; do
|
||||
apt-key adv --no-tty --keyserver ${keyserver} --recv-keys "${key}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user