Update omv-install.sh
apt-key - Deprecated
This commit is contained in:
parent
3624b67302
commit
c2738aa83f
1 changed files with 7 additions and 5 deletions
|
@ -21,10 +21,9 @@ $STD apt-get install -y gnupg
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing OpenMediaVault (Patience)"
|
msg_info "Installing OpenMediaVault (Patience)"
|
||||||
wget -q -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
|
wget -qO- https://packages.openmediavault.org/public/archive.key | gpg --dearmor >"/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.gpg"
|
||||||
$STD apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" &>/dev/null
|
|
||||||
|
|
||||||
cat <<EOF >>/etc/apt/sources.list.d/openmediavault.list
|
cat <<EOF >/etc/apt/sources.list.d/openmediavault.list
|
||||||
deb https://packages.openmediavault.org/public shaitan main
|
deb https://packages.openmediavault.org/public shaitan main
|
||||||
# deb https://downloads.sourceforge.net/project/openmediavault/packages shaitan main
|
# deb https://downloads.sourceforge.net/project/openmediavault/packages shaitan main
|
||||||
## Uncomment the following line to add software from the proposed repository.
|
## Uncomment the following line to add software from the proposed repository.
|
||||||
|
@ -35,9 +34,12 @@ deb https://packages.openmediavault.org/public shaitan main
|
||||||
# deb https://packages.openmediavault.org/public shaitan partner
|
# deb https://packages.openmediavault.org/public shaitan partner
|
||||||
# deb https://downloads.sourceforge.net/project/openmediavault/packages shaitan partner
|
# deb https://downloads.sourceforge.net/project/openmediavault/packages shaitan partner
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
export LANG=C.UTF-8
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
export APT_LISTCHANGES_FRONTEND=none
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
apt-get -y install openmediavault-keyring &>/dev/null
|
apt-get -y --auto-remove --show-upgraded --allow-downgrades --allow-change-held-packages --no-install-recommends --option DPkg::Options::="--force-confdef" --option DPkg::Options::="--force-confold" install openmediavault-keyring openmediavault &>/dev/null
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confold" install -qqy openmediavault &>/dev/null
|
|
||||||
omv-confdbadm populate
|
omv-confdbadm populate
|
||||||
msg_ok "Installed OpenMediaVault"
|
msg_ok "Installed OpenMediaVault"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue