From 929bcfbc41e050d69b48405ac8bb6d03af930d95 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 5 Nov 2019 23:19:08 -0500 Subject: [PATCH] minor fixes --- brc | 21 ++++++++++----------- distro-begin | 4 ++-- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/brc b/brc index 556c5ef..9ee0777 100644 --- 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 diff --git a/distro-begin b/distro-begin index 0744a1b..22fff60 100755 --- a/distro-begin +++ b/distro-begin @@ -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 -- 2.30.2