Correction of dependencies installation

This commit is contained in:
Aleksey Kislitsa 2022-06-01 14:39:07 +03:00 committed by pancake
parent 53c5e8618a
commit dd3bc7b520
1 changed files with 5 additions and 1 deletions

View File

@ -530,7 +530,11 @@ R2PM_DEPS() {
if [ "$doInstall" = 1 ]; then
${R2PM} clean "$a"
export R2PM_CLEAN_INSTALL=1
${R2PM} install "$a"
if [ "${GLOBAL}" = 1 ]; then
${R2PM} global-install "$a"
else
${R2PM} install "$a"
fi
fi
done
}