0 Membres et 1 Invité sur ce sujet
apt-get install playonlinux
if [ "$(id -u)" = "0" ] thenecho "PlayOnLinux is not supposed to be run as root. Sorry"exitfi
#if [ "$(id -u)" = "0" ] #then# echo "PlayOnLinux is not supposed to be run as root. Sorry"# exit#fi
#### Root uid checkif(os.popen("id -u").read() == "0\\n" or os.popen("id -u").read() == "0"):wx.MessageBox(_("{0} is not supposed to be run as root. Sorry").format(os.environ["APPLICATION_TITLE"]),_("Error"))os._exit(0)
#### Root uid check#if(os.popen("id -u").read() == "0\\n" or os.popen("id -u").read() == "0"):# wx.MessageBox(_("{0} is not supposed to be run as root. Sorry").format(os.environ["APPLICATION_TITLE"]),_("Error"))# os._exit(0)