diff options
author | Daniel Napora <napcok@gmail.com> | 2016-01-29 12:46:02 +0100 |
---|---|---|
committer | Daniel Napora <napcok@gmail.com> | 2016-01-29 12:46:02 +0100 |
commit | a3b0cb85fa5126b170d41643d20bde52a19d3212 (patch) | |
tree | ab543c3f462aa0122f371822fa9c61b4bedb0bea | |
parent | 431f377ac912369e909b7f954780a745249edf74 (diff) | |
download | mageiawelcome-a3b0cb85fa5126b170d41643d20bde52a19d3212.tar mageiawelcome-a3b0cb85fa5126b170d41643d20bde52a19d3212.tar.gz mageiawelcome-a3b0cb85fa5126b170d41643d20bde52a19d3212.tar.bz2 mageiawelcome-a3b0cb85fa5126b170d41643d20bde52a19d3212.tar.xz mageiawelcome-a3b0cb85fa5126b170d41643d20bde52a19d3212.zip |
fix autostart (mga#17561)
-rwxr-xr-x | usr/bin/mageiawelcome-launcher | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/bin/mageiawelcome-launcher b/usr/bin/mageiawelcome-launcher index 289bb9d..46624bd 100755 --- a/usr/bin/mageiawelcome-launcher +++ b/usr/bin/mageiawelcome-launcher @@ -1,7 +1,7 @@ #!/usr/bin/python3 import os -from user import home +home = os.getenv("HOME") if (not os.path.exists(home + "/.mageiawelcome/norun.flag")): os.system("mageiawelcome") |