From 07d3aa7d2c415178ca720f3a53dfba1129babc4a Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sat, 9 Dec 2017 20:27:32 -0500 Subject: [PATCH] various minor improvements --- distro-end | 58 +++++++++++++++++++++++++++++++++++++---------------- input-setup | 2 +- mail-setup | 21 ++++++++++++++++++- 3 files changed, 62 insertions(+), 19 deletions(-) diff --git a/distro-end b/distro-end index ca71ad9..76d37ea 100755 --- a/distro-end +++ b/distro-end @@ -70,6 +70,7 @@ case $HOSTNAME in # xawtv has webcam cli control. v4lctl bright 80%; v4lctl list # guvcview also adjusts webcam simple_packages+=( + adb apache2 apache2-doc apt-doc @@ -117,6 +118,7 @@ case $HOSTNAME in jq kid3-qt kid3-cli + linphone linux-doc locate lshw @@ -891,7 +893,7 @@ if [[ $HOSTNAME == frodo ]]; then # Set gui username and password. # # install syncthing via f-droid, - # folder setting, turn off master folder (makes it read only). + # folder setting, turn off send only. # on phone, add device, click bar code icon # on dekstop, top right, actions, device id # after adding, notification will appear on desktop to confirm @@ -902,7 +904,8 @@ if [[ $HOSTNAME == frodo ]]; then # notification will appear in android\'s notifications, you have to # swipe down and tap it to add the folder. It won\'t appear in the # syncthing ui, which would be intuitive, but don\'t wait for it - # there. + # there. The notification may not work, instead open the web gui + # from in the app, there should be a notification within there. # # On phone, set settings to run syncthing all the time, and # show no notification. @@ -934,6 +937,24 @@ esac ####### begin misc packages ########### +### begin spd install + +pi libswitch-perl libdigest-md5-file-perl libgnupg-interface-perl +t=$(mktemp) +wget -O $t http://mirror.fsf.org/fsfsys-trisquel/fsfsys-trisquel/pool/main/s/spd-perl/spd-perl_0.2-1_amd64.deb +s dpkg -i $t +rm $t +# this guesses at the appropriate directory, adjust if needed +x=(/usr/lib/x86_64-linux-gnu/perl/5.*) +sudo ln -s ../../../perl/5.18.2/SPD/ $x +# newer distro had gpg2 as default, older one, flidas, need to make it that way +x=$(which gpg2) +if [[ $x ]]; then + lnf -T $x /usr/local/bin/gpg +fi +### end spd install + + if [[ $HOSTNAME == kw ]]; then cat <<'EOF' NOTE: after this finishes, i did @@ -984,34 +1005,33 @@ mkschroot() { shift apps=($@) d=/nocow/schroot/$n - if [[ -e $d/bin ]]; then - s chroot $d apt-get update - s chroot $d apt-get -y dist-upgrade --purge --auto-remove - s schroot -c $n -- apt-get install --allow-unauthenticated -y ${apps[@]} - else - s mkdir -p $d - s debootstrap $n $d http://deb.debian.org/debian/ - s dd of=/etc/schroot/chroot.d/$n.conf <