mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
fix: allow downgrade for linux-image install
This commit is contained in:
parent
b8b855f59b
commit
f633f6c40b
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ if [[ $linuximage_version == *"bpo10"* ]]
|
||||||
then
|
then
|
||||||
# Downgrading using ynh_package_install (exploded) without "--no-remove"
|
# Downgrading using ynh_package_install (exploded) without "--no-remove"
|
||||||
# It will remove wireguard-ynh-deps and wireguard but they will be reinstalled throught upgrade process
|
# It will remove wireguard-ynh-deps and wireguard but they will be reinstalled throught upgrade process
|
||||||
ynh_apt --option Dpkg::Options::=--force-confdef \
|
ynh_apt --allow-downgrades --option Dpkg::Options::=--force-confdef \
|
||||||
--option Dpkg::Options::=--force-confold install linux-image-$arch/stable
|
--option Dpkg::Options::=--force-confold install linux-image-$arch/stable
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue