mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Avoid to remove a apt package accidentally (#292)
* [fix] Avoid to remove a apt package accidentally * [fix] No need --no-remove option with apt update cmd
This commit is contained in:
parent
712e69d830
commit
c954429cca
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ ynh_package_update() {
|
|||
# usage: ynh_package_install name [name [...]]
|
||||
# | arg: name - the package name to install
|
||||
ynh_package_install() {
|
||||
ynh_apt -o Dpkg::Options::=--force-confdef \
|
||||
ynh_apt --no-remove -o Dpkg::Options::=--force-confdef \
|
||||
-o Dpkg::Options::=--force-confold install $@
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue