File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 echo " gsettings set org.gnome.desktop.notifications show-banners false" >> /etc/skel/.bashrc
6565fi
6666cat /etc/resolv.conf
67- exit 0
68- # # old cleanup section
69- # sudo mkdir -p /etc/skel/snap/firefox/common/
70- # sudo cp -r $SCRIPT/.mozilla/ /etc/skel/snap/firefox/common/
71- sudo rm -rf /etc/skel/snap/firefox/
72- cd /home/
73- for d in * / ; do
74- echo " Checking $d "
75- # sudo rm -rf /home/$d/snap/firefox/
76- done
67+
Original file line number Diff line number Diff line change @@ -138,16 +138,21 @@ if (! test -e $EXCEPTION_ZIP) then
138138 sudo unzip $EXCEPTION_ZIP -d /etc/skel/Arduino/tools/
139139fi
140140
141-
141+ sudo mkdir -p /etc/skel/.config
142+ sudo cp -r $SCRIPT /.config/cura/ /etc/skel/.config/
142143
143144cd /home/
144145for d in * / ; do
145146 TRIMMED=$( basename $d ) ;
146147 echo " Checking $TRIMMED "
147- sudo mkdir -P /home/$TRIMMED /Arduino/tools/EspExceptionDecoder/tool/
148+ sudo mkdir -p /home/$TRIMMED /Arduino/tools/EspExceptionDecoder/tool/
148149 sudo cp /etc/skel/Arduino/tools/EspExceptionDecoder/tool/EspExceptionDecoder.jar /home/$TRIMMED /Arduino/tools/EspExceptionDecoder/tool/
149150 sudo chown -R $TRIMMED :$TRIMMED /home/$TRIMMED /Arduino/tools/
150- # sudo rm -rf /home/$d/snap/firefox/
151+ if (! test -d $SCRIPT /.config/cura/) then
152+ echo " Updating cura config for $TRIMMED "
153+ sudo cp -r $SCRIPT /.config/cura/ /home/$TRIMMED /.config/
154+ sudo chown -R $TRIMMED :$TRIMMED /home/$TRIMMED /.config/cura/
155+ fi
151156done
152157
153158
You can’t perform that action at this time.
0 commit comments