aboutsummaryrefslogtreecommitdiffstats
path: root/gnome/mandrake.links.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gnome/mandrake.links.sh')
-rw-r--r--gnome/mandrake.links.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome/mandrake.links.sh b/gnome/mandrake.links.sh
index 4cd04b9..2b0a9fb 100644
--- a/gnome/mandrake.links.sh
+++ b/gnome/mandrake.links.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ $(set | grep USERNAME | sed s/USERNAME=//) != root ] ; then
+if [ "`whoami`" != root ] ; then
if [ ! -d ~/.gnome-desktop ] ; then
mkdir -p ~/.gnome-desktop