mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[enh] Avoid obsolete warning about force-yes
This commit is contained in:
parent
6ceb9cb9e4
commit
9a70790124
1 changed files with 5 additions and 5 deletions
|
@ -259,7 +259,7 @@ function upgrade_system() {
|
||||||
# perl is yolomacnuggets :|
|
# perl is yolomacnuggets :|
|
||||||
# Stuff like "Can't locate object method "new" via package "Text::Iconv""
|
# Stuff like "Can't locate object method "new" via package "Text::Iconv""
|
||||||
apt_get_wrapper -o Dpkg::Options::="--force-confold" \
|
apt_get_wrapper -o Dpkg::Options::="--force-confold" \
|
||||||
-y --force-yes install \
|
-y --allow-change-held-packages install \
|
||||||
libtext-iconv-perl \
|
libtext-iconv-perl \
|
||||||
|| return 1
|
|| return 1
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ function upgrade_system() {
|
||||||
|
|
||||||
if is_raspbian ; then
|
if is_raspbian ; then
|
||||||
apt_get_wrapper -o Dpkg::Options::="--force-confold" \
|
apt_get_wrapper -o Dpkg::Options::="--force-confold" \
|
||||||
-y --force-yes install rpi-update \
|
-y --allow-change-held-packages install rpi-update \
|
||||||
|| return 3
|
|| return 3
|
||||||
|
|
||||||
if [[ "$BUILD_IMAGE" != "1" ]] ; then
|
if [[ "$BUILD_IMAGE" != "1" ]] ; then
|
||||||
|
@ -299,7 +299,7 @@ function install_script_dependencies() {
|
||||||
|
|
||||||
apt_update
|
apt_update
|
||||||
apt_get_wrapper -o Dpkg::Options::="--force-confold" \
|
apt_get_wrapper -o Dpkg::Options::="--force-confold" \
|
||||||
-y --force-yes install \
|
-y --allow-change-held-packages install \
|
||||||
$DEPENDENCIES \
|
$DEPENDENCIES \
|
||||||
|| return 1
|
|| return 1
|
||||||
}
|
}
|
||||||
|
@ -477,7 +477,7 @@ function install_yunohost_packages() {
|
||||||
# c.f. https://github.com/YunoHost/issues/issues/1382
|
# c.f. https://github.com/YunoHost/issues/issues/1382
|
||||||
apt_get_wrapper \
|
apt_get_wrapper \
|
||||||
-o Dpkg::Options::="--force-confold" \
|
-o Dpkg::Options::="--force-confold" \
|
||||||
-y --force-yes install \
|
-y --allow-change-held-packages install \
|
||||||
debhelper dh-autoreconf \
|
debhelper dh-autoreconf \
|
||||||
|| true
|
|| true
|
||||||
|
|
||||||
|
@ -485,7 +485,7 @@ function install_yunohost_packages() {
|
||||||
apt_get_wrapper \
|
apt_get_wrapper \
|
||||||
-o Dpkg::Options::="--force-confold" \
|
-o Dpkg::Options::="--force-confold" \
|
||||||
-o APT::install-recommends=true \
|
-o APT::install-recommends=true \
|
||||||
-y --force-yes install \
|
-y --allow-change-held-packages install \
|
||||||
yunohost yunohost-admin postfix \
|
yunohost yunohost-admin postfix \
|
||||||
|| return 1
|
|| return 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue