From: Ian Kelling Date: Mon, 15 Aug 2016 01:47:55 +0000 (-0700) Subject: minor doc update X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=254efde384ffdf6745c049a02742a9f39542ce9c minor doc update --- diff --git a/README b/README index 141f309..0fd249f 100644 --- a/README +++ b/README @@ -1,3 +1,5 @@ -Scripts I use to setup my distro. It's not meant for other people to run -verbatum, but for them to read and copy the good parts. It has -dependencies on other repos at https://iankelling.org/git. +Scripts to setup distros how I like + +It's not meant for other people to run verbatum, but for them to read +and copy the good parts. It has dependencies on other repos at +https://iankelling.org/git. diff --git a/distro-begin b/distro-begin index 5ffb0d2..a37a19b 100755 --- a/distro-begin +++ b/distro-begin @@ -72,11 +72,11 @@ if [[ $1 ]]; then export HOSTNAME=$1 fi -for f in iank-dev htpc treetowl x2 frodo tp li lj; do +for f in iank-dev htpc treetowl x2 frodo tp li lj demohost; do eval "$f() { [[ $HOSTNAME == $f ]]; }" done has_p() { iank-dev || x2 || frodo || tp; } -has_x() { ! { lj || li; }; } +has_x() { ! { lj || li || demohost; }; } encrypted() { has_p; } shopt -s extglob @@ -263,6 +263,10 @@ EOF fi fi +s lnf -T /q/p /p +# this needs to be before installing pacserve so we have gpg conf. +conflink + if isarch; then #https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages sudo pacman -S --noconfirm --needed base-devel jq @@ -282,7 +286,8 @@ if isarch; then aurpi cower pacaur pi pacserve - x=$(mktemp); /a/opt/pacman.conf-insert_pacserve >$x + + x=$(mktemp); /usr/bin/pacman.conf-insert_pacserve >$x sudo dd of=/etc/pacman.conf if=$x; rm $x sudo systemctl enable pacserve.service sudo systemctl start pacserve.service @@ -306,14 +311,8 @@ pi trash-cli #s hostname -F /etc/hostname #HOSTNAME=$(hostname) -######################################### -# NOTE: only /a needs to be mounted for creating links! -########################################### -# todo: reconcile ~/.ssh/config work/home -s lnf -T /q/p /p s lnf -T /a/bin /b -conflink if has_p; then lnf -T /p/offlineimap ~/Maildir