remove redirect in favor of gpg output argument
This commit is contained in:
parent
8749b3555e
commit
5ac91ab46f
4
install
4
install
@ -15,7 +15,7 @@
|
||||
#
|
||||
|
||||
logfile="omv_install.log"
|
||||
version="2.2.1"
|
||||
version="2.2.2"
|
||||
|
||||
|
||||
_log()
|
||||
@ -323,7 +323,7 @@ if [[ ! "${omvInstall}" == "ii" ]]; then
|
||||
|
||||
_log "Adding openmediavault repo and key..."
|
||||
echo "deb [signed-by=${omvKey}] ${omvRepo} ${omvCodename} main" | tee ${omvSources}
|
||||
wget --quiet --output-document=- "${omvKeyUrl}" | gpg --dearmor > "${omvKey}"
|
||||
wget --quiet --output-document=- "${omvKeyUrl}" | gpg --dearmor --yes --output "${omvKey}"
|
||||
|
||||
_log "Updating repos..."
|
||||
apt-get update 2>&1 | tee -a ${logfile}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user