From: Ian Kelling Date: Sun, 5 Feb 2017 04:04:58 +0000 (-0800) Subject: various fixes X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=70538a2a935f067db0aeef8ed9b6746198265363;p=buildscripts various fixes --- 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)