From f0217d1f48f76af5f5be9e51f81403c5ff103204 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 7 May 2011 15:43:28 +0200 Subject: [PATCH] setup.sh: Don't use Git features of screen as root. --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index e9727dc..755e292 100755 --- a/setup.sh +++ b/setup.sh @@ -28,7 +28,7 @@ if [ x`id -u` != x0 ]; then fi # I use some features of screen which are only in Git. Drop them on machines # which have older versions. They are marked as "(GIT)". -if [ $hostname != asp ]; then +if [ $hostname != asp -o x`id -u` = x0 ]; then echo screenrc: removing Git features grep -v '(GIT)' screenrc > screenrc.tmp mv screenrc.tmp screenrc -- 2.44.1