From 70538a2a935f067db0aeef8ed9b6746198265363 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sat, 4 Feb 2017 20:04:58 -0800 Subject: [PATCH] various fixes --- emacs | 9 ++++++++- tor-browser | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/emacs b/emacs index abab865..9366f41 100755 --- a/emacs +++ b/emacs @@ -38,7 +38,14 @@ e() { echo "$*"; "$@"; } export CFLAGS="-Og -g3" # gawk and attr were no longer automatically installed in stretch -logq pi texlive hunspell git gawk attr +extras= +if isdebian-testing; then + # while this bug exists + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853970 + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852611 + extras=texlive-base/unstable +fi +logq pi texlive hunspell git gawk attr $extras case $(distro-name) in fedora ) # before i learned the builddep command, i identified these diff --git a/tor-browser b/tor-browser index 1fcbcb8..69547ec 100755 --- a/tor-browser +++ b/tor-browser @@ -21,7 +21,7 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR # https://dist.torproject.org/torbrowser/ ver=$(curl -s https://dist.torproject.org/torbrowser/ \ - | sed -rn 's/.*href="([0-9]+\.[0-9]+).*/\1/p' \ + | sed -rn 's/.*href="([0-9]+\.[0-9]+[.0-9]*)\/.*/\1/p' \ | sort -Vr | head -n 1) -- 2.30.2