POL_Install_mono210

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 137362
Wine: System

Feedbacks

Description

This function install Mono 2.10.x     

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-11-14 21:00)
# Last revision : (2013-04-22 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

FORCE_MODE=$1

# Downloading Mono 2.10
mkdir -p "$POL_USER_ROOT"/ressources/mono210/
cd "$POL_USER_ROOT"/ressources/mono210/
POL_Download_Resource "http://download.mono-project.com/archive/2.10.9/windows-installer/0/mono-2.10.9-gtksharp-2.12.11-win32-0.exe" "af8e1a36fbed6bd84b245dd603b365bb" "mono210"

# Check if mono210 is already installed
CHECK_MONO210=`find $WINEPREFIX -name "mono-2.0.dll"`
if [ "$CHECK_MONO210" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start /unix "mono-2.10.9-gtksharp-2.12.11-win32-0.exe" /silent
        POL_Wine_WaitExit "Mono 2.10"
fi

Contributions

Filters:

Contribute
Member Message