X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-end;h=84566b89fa4299468c147d69bd2e60ee97911166;hb=c926b55471a48cbcd99607ce1e003da55211d166;hp=b883fec1ce82becebcc92b6963985338508ac3d8;hpb=092eddeca14a9e0694ce9550abdb663b9e900489;p=distro-setup diff --git a/distro-end b/distro-end index b883fec..84566b8 100755 --- a/distro-end +++ b/distro-end @@ -54,7 +54,7 @@ popularity-contest popularity-contest/participate boolean true EOF ########### begin section including li ################ -pi ${p3[@]} $($src/distro-pkgs) +pi ${p3[@]} #### desktop stuff case $codename_compat in @@ -609,13 +609,167 @@ esac ########### end section including li/lj ############### + +case $(debian-codename) in + # needed for debootstrap scripts for fai since fai requires debian + flidas) + curl http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg | s apt-key add - + s dd of=/etc/apt/preferences.d/flidas-xenial </dev/null <$t <$t <$t </dev/null <$t <$t </dev/null; then # manual instructions # wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import - # echo is to get past prompt - echo | sudo -E HOME=/home/iank bash guix-install.sh + yes | sudo -E HOME=$HOME bash guix-install.sh || [[ $? == 141 ]] guix install glibc-utf8-locales guix package --install guile fi +# install rust. +curl https://sh.rustup.rs -sSf | bash -s -- -y +# todo: update this. updates in rust are stupidly complicate +if ! which rg &>/dev/null; then + cargo install ripgrep +fi + #### tor case $distro in # based on @@ -1762,16 +1810,12 @@ make sure to reload the firewall to load the persistent configuration EOF pi nfs-utils - sgo nfs-server ;; debian|trisquel|ubuntu) - pi nfs-server + pi-nostart nfs-server ;; arch) pi nfs-utils || pending_reboot=true - sgo rpcbind - # this failed until I rebooted - sgo nfs-server ;; esac