minor fixes
authorIan Kelling <ian@iankelling.org>
Wed, 6 Nov 2019 04:19:08 +0000 (23:19 -0500)
committerIan Kelling <ian@iankelling.org>
Wed, 6 Nov 2019 04:19:08 +0000 (23:19 -0500)
brc
distro-begin

diff --git a/brc b/brc
index 556c5ef04e743bb2208cc54dd7ae3d7cd1569cbe..9ee0777cf06f0b78cbcbcf00c615acc06e0e2d41 100644 (file)
--- a/brc
+++ b/brc
@@ -12,17 +12,16 @@ elif [[ -s ~/.iank/err ]]; then
   source ~/.iank/err
 fi
 
-t2() {
-  echo t2
-  popd
-  grep sdf sdfd
-  echo wtf
-}
-t1() {
-  echo t1
-  trap
-  t2 a b c
-}
+# for testing error catching:
+# t2() {
+#   echo t2
+#   grep sdf sdfd
+#   echo wtf
+# }
+# t1() {
+#   echo t1
+#   t2 a b c
+# }
 
 # * settings
 
index 0744a1b07861d56739d972b77e38181da957b8a6..22fff60409d135d21ae76167ae28e2de5a9df3b5 100755 (executable)
@@ -561,8 +561,8 @@ EOF
     # install for multiple display managers in case we use one
     dir=/etc/gdm3
     sudo mkdir -p $dir/PostLogin
-    sudo command cp /a/bin/distro-setup/desktop-20-autostart.sh $dir/PostLogin/Default
-    sudo mkdir /etc/lightdm/lightdm.conf.d
+    sudo cp /a/bin/distro-setup/desktop-20-autostart.sh $dir/PostLogin/Default
+    sudo mkdir -p /etc/lightdm/lightdm.conf.d
     sudo dd of=/etc/lightdm/lightdm.conf.d/12-iank.conf <<'EOF'
 [SeatDefaults]
 session-setup-script=/a/bin/distro-setup/desktop-20-autostart.sh