From d7a6ade847683fb0879365e857776f5d1de6d788 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 2 Aug 2023 21:20:19 +0200
Subject: [PATCH] Improve w530 bookworm setup.

---
 bookworm/apt-mark/.user.swp             | Bin 0 -> 12288 bytes
 bookworm/setup_scripts/setup_desktop.sh |   2 +-
 bookworm/setup_scripts/setup_home.sh    |   2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 create mode 100644 bookworm/apt-mark/.user.swp

diff --git a/bookworm/apt-mark/.user.swp b/bookworm/apt-mark/.user.swp
new file mode 100644
index 0000000000000000000000000000000000000000..29184c94245f6e9eb723084f0bcb50e43b5170b8
GIT binary patch
literal 12288
zcmeI2y^AD87>D0A^gO>#kjv^E(B%4hXV$~zRt+u_y-4oZNUiRw?kT3bs;G~inG4oL
zGXo6-KLQgm5cEGVG7v5`GZDdH{{S&k@K-%EvM0iAB%IX1L)Ug!z5TvVy%P*u)&8B=
zZn48_Gs5RdqT#c9;=89xqE8+r+nGMye$Zz%o9#bnPI`Wl0+u#bovPn<(i&gZMmMT0
zD`OT*<NA`@Q1sj_%IKv#Ps}_g8^{LEVIYR4IJ`&)v+4L<ojiAiU3&WVITq$A*+4ds
z4P*n^KsJyKWCPhiHt>Hj5bPeki(($x7Id_|?)~Gs{WD*(fovcf$Of{3Y#<xR2C{){
zAREXAvVm;iAvC}R(ZL0xqsNdu{{O%G{r~k7L?43>!TTVB7Q6s1gFSHiIMEN_TksKh
z51arGI5+}V!L#5QZ~^>rk?41D3VsDYgP*{U;2!uMd<nh)pMtx<fVaR+@Dg|)TmhHC
zCGaP5{|%giU%)ruEATn^0Gt318t@J{2Csuxz*zS~xNkY-Y#<xR2C{){AREXAvVm;i
zKQ=HStF+X?t&27+W+Xey3vEIl>pAVN%CB`z6V`LpF)u^3R2kP+yk1~9VU2MtO;Nff
zW2N?fUeujJSgPIHhRqV&n}|CT77QDQOzQEm6zuk!H<=HrUNEi&!?|Imf@e5b91z4)
zCq;{+#A9;1anEaC$d2SVs7>D+jm&i+8sBd2;$7oYs-yLr7pKtHDa3VTW9KE0LYZw1
zjdHRvtCXPZRbU<o3+hxQs_2UrgJN3D(hayO4vPJ>Zo9@stx-P{5&{G&Q_@p)SJ@dY
zTbat<%~aY4-gWoSw9eGXvFF<I7Ar9*M1{h=Cm)5OLG_5iJ8zPnCU&$!4Lu&#i!`eU
z#&n+40fL8^2AIB7T9_p~56T(crwu{!miL8U`yhLf(n^~bxC>+5C}X^nL^@+adYPlu
zbXu%17^Ev=P<YQ~-O3@ymC|ag@9#jgo4Z1n6iV9|@IsAq;i~rk_D~K&4v2Zo#>qF>
zLar;rofz987&N2BkKFsh4oXOa-~m0b$>un1+*k_Z0jfGe19{WQV$*==yt(q&ev{Vv
zO($atTh3KIXHIhASt&zZ3fb`3g><t0%=)F}K3a=|?;Ikv3^?t+z)5$F9dp|pma0+I
z4gKs)=OalK9PgWL5Awk%!EjtYq=rE{RVRCo%?k4~Ux_#F+`5VsC3|@ug7r7blKVxh
W@D+;J(CsBJr_=rGhc6z!N`C=m=b8op

literal 0
HcmV?d00001

diff --git a/bookworm/setup_scripts/setup_desktop.sh b/bookworm/setup_scripts/setup_desktop.sh
index b64d39d..42cd779 100755
--- a/bookworm/setup_scripts/setup_desktop.sh
+++ b/bookworm/setup_scripts/setup_desktop.sh
@@ -35,7 +35,7 @@ if [ "$system_name" = "w530" ]; then
     wget https://us.download.nvidia.com/XFree86/Linux-x86_64/${driver_version}/${runscript}
     rmmod nouveau
     chmod u+x ${runscript} 
-    ./${runscript} --no-kernel-modules --no-questions
+    ./${runscript} --no-kernel-modules --silent
     depmod
 fi
 
diff --git a/bookworm/setup_scripts/setup_home.sh b/bookworm/setup_scripts/setup_home.sh
index ab9f1b5..8a8b265 100755
--- a/bookworm/setup_scripts/setup_home.sh
+++ b/bookworm/setup_scripts/setup_home.sh
@@ -1,6 +1,5 @@
 #!/bin/sh
 set -e
-set -x
 . ./misc.sh
 
 expect_n_args 1 "(system name)" "$@"
@@ -58,6 +57,7 @@ cat "${repos_list_file}" | while read line; do
 done
 
 # Remove redundant config repo copy.
+config_tree_prefix="${public_repos_dir}/config/${debian_version}"
 rm -rf ~/config
 
 # # Set up native messenger for tridactyl.
-- 
2.30.2