various improvements
[distro-setup] / distro-end
index 91ae7e3ef0ceae5965fa2e48a2ecbfc39487923b..84566b89fa4299468c147d69bd2e60ee97911166 100755 (executable)
@@ -193,11 +193,6 @@ s dpkg-reconfigure -u -fnoninteractive unattended-upgrades
 # Setup daily reboots, so all unattended upgrades go into affect
 # unattended upgrades happen at 6 am + rand(60 min).
 echo '20 7 * * * root /usr/local/bin/zelous-unattended-reboot' | s dd of=/etc/cron.d/unattended-upgrade-reboot
-case $(debian-codename) in
-  flidas)
-    if [[ ! -e /usr/local/bin/checkrestart ]]; then
-      ;;
-esac
 ##### end automatic upgrades ####
 
 # office is not exposed to internet yet
@@ -1737,9 +1732,12 @@ if ! type -p guix >/dev/null; then
   guix package --install guile
 fi
 
-# install rust
+# install rust.
 curl https://sh.rustup.rs -sSf | bash -s -- -y
-cargo install ripgrep
+# todo: update this. updates in rust are stupidly complicate
+if ! which rg &>/dev/null; then
+  cargo install ripgrep
+fi
 
 #### tor
 case $distro in