[Slackbuilds-users] hoorex-0.6.4 and tty control Strings
Konrad J Hambrick
kjhambrick at gmail.com
Mon Sep 17 11:11:47 UTC 2018
On Mon, Sep 17, 2018 at 12:46 AM, Christoph Willing <
chris.willing at iinet.net.au> wrote:
> On 17/9/18 8:42 am, Christoph Willing wrote:
> > On 16/9/18 8:10 pm, Konrad J Hambrick wrote:
> > A problem I will have with the python curses solution is how to test. Is
> > your problem due to a physical device you're using, or is it to do with
> > how you're using hoorex in your update scripts i.e. something I could
> > replicate sufficiently to test any fix?
> Hi Konrad,
> I just discovered something which I hope is relevant - I can see the
> escape sequences when I pipe or redirect hoorex output anywhere. That
> breaks a use case described in the man page - not good - so I've
> committed a fix for this situation (by first testing whether output
> device is a tty).
> Is your case similar to that (a script piping or redirecting hoorex
> output somewhere)? If so, the attached patch should fix it. Could you
> test it (against 0.6.4) if you have time?
> Chris --
Yes, I am invoking something like the code below my sig.
Example: what do I need for postgis ?
### cut here ###
for Dep in $(hoorex -r -m $Pkg)
GotIt="$(ls -1 /var/log/packages/$Dep-[0-9]* 2>/dev/null)"
if [ "$GotIt" != "" ]
echo "$Dep is already installed as $(basename $GotIt)"
echo "you'll need to build and install $Dep"
# sh get-SBo-pkg $Dep # this script copies the SBo Directory to my
working Directory and downloads files and checks md5sums
[ "$Lst" != "" ] && echo "now go build and intstall $Lst"
### cut there ###
This is what I see today for postgis:
geos is already installed as geos-3.7.0-x86_64-1_SBo
proj is already installed as proj-5.1.0-x86_64-2_SBo
postgresql is already installed as postgresql-9.6.10-x86_64-1_SBo_kjh
gdal is already installed as gdal-2.3.1-x86_64-1_SBo_kjh
postgis is already installed as postgis-2.4.5-x86_64-1_SBo
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SlackBuilds-users