Guest User

Sources

a guest
Oct 2nd, 2013
1,388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. #!/bin/bash
  2. # Copyright (C) 2007-2011 PlayOnLinux Team
  3. # Copyright (C) 2007-2011 Pâris Quentin
  4.  
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14.  
  15. # You should have received a copy of the GNU General Public License along
  16. # with this program; if not, write to the Free Software Foundation, Inc.,
  17. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18.  
  19. #if [ "$(id -u)" = "0" ]
  20. then
  21. echo "PlayOnLinux is not supposed to be run as root. Sorry"
  22. exit
  23. #fi
  24. if [ ! "$INCLUDED" ]
  25. then
  26. INCLUDED="1" # On évite l'inclusion en boucle
  27. source "$PLAYONLINUX/lib/variables"
  28. [ -e "$POL_USER_ROOT/configurations/custom" ] && source "$POL_USER_ROOT/configurations/custom"
  29. source "$PLAYONLINUX/lib/debug.lib"
  30. source "$PLAYONLINUX/lib/deprecated.lib"
  31. source "$PLAYONLINUX/lib/playonlinux.lib"
  32. source "$PLAYONLINUX/lib/plugins.lib"
  33. source "$PLAYONLINUX/lib/scripts.lib"
  34. source "$PLAYONLINUX/lib/setupwindow.lib"
  35. source "$PLAYONLINUX/lib/website.lib"
  36. source "$PLAYONLINUX/lib/wine.lib"
  37. source "$PLAYONLINUX/lib/dosbox.lib"
  38. [ "$DEBIAN_PACKAGE" = "TRUE" ] && source "$PLAYONLINUX/lib/debian.lib"
  39. fi
  40. if [ ! "$DONT_MONITOR" ]; then
  41. set -o monitor
  42. export DONT_MONITOR="1"
  43. fi
  44. if [ ! "$POL_DONT_REGISTER_PID" ]; then
  45. POL_System_RegisterPID "$$"
  46. fi
Advertisement
Add Comment
Please, Sign In to add comment