forked from CastroFidel/winehelper
t-flex-*: fixed install grdcontrol
This commit is contained in:
@ -28,8 +28,8 @@ prepair_wine
|
|||||||
|
|
||||||
if [[ -d "$WINEPREFIX" ]] \
|
if [[ -d "$WINEPREFIX" ]] \
|
||||||
&& grep -q "t-flex-cad" "$WINEPREFIX/winetricks.log" \
|
&& grep -q "t-flex-cad" "$WINEPREFIX/winetricks.log" \
|
||||||
&& systemctl list-units --type service --state running | grep aksusbd \
|
&& systemctl list-units --type service --state running | grep -q aksusbd \
|
||||||
&& systemctl list-units --type service --state running | grep hasplmd \
|
&& systemctl list-units --type service --state running | grep -q hasplmd \
|
||||||
&& rpm -q grdcontrol | grep -q "$GRDCONTROL_VER"
|
&& rpm -q grdcontrol | grep -q "$GRDCONTROL_VER"
|
||||||
then
|
then
|
||||||
print_info "Префикс $PREFIX_NAME готов к установке ПО."
|
print_info "Префикс $PREFIX_NAME готов к установке ПО."
|
||||||
@ -50,7 +50,7 @@ else
|
|||||||
|
|
||||||
if rpm -q grdcontrol | grep -q "$GRDCONTROL_VER"
|
if rpm -q grdcontrol | grep -q "$GRDCONTROL_VER"
|
||||||
then print_info "grdcontrol-$GRDCONTROL_VER уже установлен в системе."
|
then print_info "grdcontrol-$GRDCONTROL_VER уже установлен в системе."
|
||||||
else su_run rpm -iv "$AUTOINSTALL_DIR_LIN/Guardant_Linux/grdcontrol.x86_64.rpm"
|
else su_run "rpm -iv \"$AUTOINSTALL_DIR_LIN/Guardant_Linux/grdcontrol.x86_64.rpm\""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BASE_PFX" == "none" ]] ; then
|
if [[ "$BASE_PFX" == "none" ]] ; then
|
||||||
|
Reference in New Issue
Block a user