Scripts version 2096

This commit is contained in:
castro-fidel
2022-04-03 21:07:07 +03:00
parent 76e52f5a78
commit 0fa5790b42
10 changed files with 122 additions and 70 deletions

View File

@ -356,6 +356,9 @@ pw_init_runtime () {
if [[ ! -z "`cat /etc/*-release | grep -i opensuse`" ]] \
|| [[ ! -z "`cat /etc/*-release | grep -i centos`" ]] \
|| [[ ! -z "`cat /etc/*-release | grep -i rosa`" ]] \
|| [[ ! -z "`cat /etc/*-release | grep -i altlinux`" ]] \
|| [[ ! -z "`cat /etc/*-release | grep -i astra`" ]] \
|| [[ ! -z "`cat /etc/*-release | grep -i redos`" ]] \
|| [[ ! -z "`cat /etc/*-release | grep -i fedora`" ]] \
|| [[ ! -z "`cat /etc/*-release | grep -i gentoo`" ]] ; then
if check_symlink "${PW_WINELIB}/portable/lib/lib64" ; then
@ -365,7 +368,7 @@ pw_init_runtime () {
mv -f "${PW_WINELIB}/portable/lib/lib" "${PW_WINELIB}/portable/lib/lib64"
fi
if [[ ! -d "${PW_WINELIB}/portable/lib/lib" ]] ; then
mv -f "${PW_WINELIB}/portable/lib/lib32" "${PW_WINELIB}/portable/lib/lib"
ln -s "${PW_WINELIB}/portable/lib/lib32" "${PW_WINELIB}/portable/lib/lib"
fi
fi