home · contact · privacy
Fix broken su -c call.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 7 Apr 2019 18:05:13 +0000 (20:05 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 7 Apr 2019 18:05:13 +0000 (20:05 +0200)
buster/setup_scripts/setup_eeepc.sh

index 289a1a5f486ab03f6ce6342fc00c6cb1a6a7f739..74efe1ccee7ee7cb74264af6e09ea444e215560b 100755 (executable)
@@ -19,5 +19,5 @@ if [ ! -d "/home/plom" ]; then
     usermod -a -G sudo plom
     su -c "cd && git clone https://plomlompom.com/repos/clone/config" plom
     su -c "~/config/buster/setup_scripts/copy_dirtree.sh ~/config/buster/home_files ~ eeepc" plom
-    su -c "echo 2 > ~/.shell_prompt_color"
+    su -c "echo 2 > ~/.shell_prompt_color" plom
 fi