mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
Check if dependency is installed to be sure before proceeding.
--HG-- extra : convert_revision : e5ed948a484a1ed0c3e8a28759e60e59f4b60dbd
This commit is contained in:
parent
58a9a990e9
commit
68056f60f8
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ install_pkg_deps()
|
||||||
curpkgname=$(xbps-pkgdb getpkgname ${curpkg})
|
curpkgname=$(xbps-pkgdb getpkgname ${curpkg})
|
||||||
|
|
||||||
run_template $curpkgname
|
run_template $curpkgname
|
||||||
|
check_installed_pkg $curpkg
|
||||||
|
[ $? -eq 0 ] && continue
|
||||||
|
|
||||||
echo "==> Installing $saved_prevpkg dependency: $curpkg"
|
echo "==> Installing $saved_prevpkg dependency: $curpkg"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue