mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1811 from YunoHost/apt_installed_dpkg_free
helpers: Do not wait for dpkg lock when calling ynh_package_is_installed
This commit is contained in:
commit
93b6ec0276
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ ynh_package_is_installed() {
|
|||
# Manage arguments with getopts
|
||||
ynh_handle_getopts_args "$@"
|
||||
|
||||
ynh_wait_dpkg_free
|
||||
dpkg-query --show --showformat='${Status}' "$package" 2>/dev/null \
|
||||
| grep --count "ok installed" &>/dev/null
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue