Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

4.0.5

  • Loading branch information...
commit 53d998c0bc0ae4b1e428976fc2a76308f2a53704 1 parent 330b8c2
@qparis qparis authored
Showing with 6 additions and 7 deletions.
  1. +4 −4 lib/debug.lib
  2. +1 −2  lib/scripts.lib
  3. +1 −1  python/lib/Variables.py
View
8 lib/debug.lib
@@ -88,7 +88,7 @@ POL_Debug_Message()
# Usage : POL_Debug_Message [MESSAGE]
echo "$(Get_CurrentDate) - [${FUNCNAME[1]}] Message: $1" >> "$LOGFILE"
- echo "[${FUNCNAME[1]}] Message: $1"
+ echo "[${FUNCNAME[1]}] Message: $1" 1>&2
}
POL_Debug_Warning()
{
@@ -96,7 +96,7 @@ POL_Debug_Warning()
# Usage : POL_Debug_Warning [MESSAGE]
echo "$(Get_CurrentDate) - [${FUNCNAME[1]}] Warning: $1" >> "$LOGFILE"
- echo "[${FUNCNAME[1]}] Warning: $1"
+ echo "[${FUNCNAME[1]}] Warning: $1" 1>&2
}
POL_Debug_Error()
{
@@ -105,7 +105,7 @@ POL_Debug_Error()
# Usage : POL_Debug_Error [MESSAGE]
echo "$(Get_CurrentDate) - [${FUNCNAME[1]}] Error: $1" >> "$LOGFILE"
- echo "[${FUNCNAME[1]}] Error: $1"
+ echo "[${FUNCNAME[1]}] Error: $1" 1>&2
POL_SetupWindow_message "Error: $1" "$TITLE" # La on affiche quand même
export POL_SCRIPT_FAILED="YES"
}
@@ -116,7 +116,7 @@ POL_Debug_Fatal()
# Usage : POL_Debug_Fatal [MESSAGE]
echo "$(Get_CurrentDate) - [${FUNCNAME[1]}] Fatal: $1" >> "$LOGFILE"
- echo "[${FUNCNAME[1]}] Fatal: $1"
+ echo "[${FUNCNAME[1]}] Fatal: $1" 1>&2
POL_SetupWindow_message "[${FUNCNAME[1]}] Fatal: $1" "$TITLE" # La on affiche quand même
export POL_SCRIPT_FAILED="YES"
POL_SetupWindow_Close
View
3  lib/scripts.lib
@@ -39,8 +39,7 @@ POL_Open()
{
# Extended xdg-open function, works for mac
# Usage : POL_Open whatever you want
-
- POL_Open "$@"
+
[ "$POL_OS" == "Mac" ] && open "$@"
[ "$POL_OS" == "Linux" ] && xdg-open "$@"
}
View
2  python/lib/Variables.py
@@ -42,7 +42,7 @@
os.environ["POL_USER_ROOT"] = os.environ["REPERTOIRE"]
os.environ["TITRE"] = os.environ["APPLICATION_TITLE"]
os.environ["SITE"] = "http://repository.playonlinux.com"
-os.environ["VERSION"] = "4.0.4"
+os.environ["VERSION"] = "4.0.5"
os.environ["POL_ID"] = str(random.randint(1,100000000))
os.environ["WINEPREFIX"] = os.environ["REPERTOIRE"]+"/wineprefix/default"
os.environ["WINE_SITE"] = "http://www.playonlinux.com/wine/binaries/"
Please sign in to comment.
Something went wrong with that request. Please try again.