forgotten conflict

This commit is contained in:
Radovan Garabík 2017-06-07 15:03:32 +02:00
commit ddc03abfdb
5 changed files with 26 additions and 3 deletions

View File

@ -198,3 +198,4 @@ Or for zsh users, append to `~/.zshrc`:
Add to `~/.config/fish/config.fish` or in a new file in `~/.config/fish/conf.d/`:
source /usr/local/etc/grc.fish

12
colourfiles/conf.sensors Normal file
View File

@ -0,0 +1,12 @@
# Adapetr
regexp=Adapter:\s(.*)
colours=default, green
======
# High temperature
regexp=.+:\s+(\+[67][0-9][^0-9])
colours=default, red
======
# Very high temperature
regexp=.+:\s+(\+[89][0-9][0-9]?)
colours=default, blink red
======

7
debian/changelog vendored
View File

@ -1,8 +1,13 @@
grc (1.11.1-2) unstable; urgency=low
* fixed python2 compatibility errors (forgotten old changelog commit)
-- Radovan Garabík <garabik@kassiopeia.juls.savba.sk> Wed, 07 Jun 2017 15:01:11 +0200
grc (1.11.1-1) unstable; urgency=low
* fixed python2 compatibility errors
-- Radovan Garabík <garabik@kassiopeia.juls.savba.sk> Thu, 04 May 2017 11:11:11 +0200
-- Radovan Garabík <garabik@kassiopeia.juls.savba.sk> Sun, 21 May 2017 16:01:51 +0200
grc (1.11-1) unstable; urgency=low

6
grc
View File

@ -137,7 +137,11 @@ if cfile != "" and colour:
os.dup2(chie, 2)
os.close(choe)
os.close(chie)
os.execvp(args[0], args)
try:
os.execvp(args[0], args)
except OSError as e:
sys.stderr.write('grc: %s: %s\n' % (args[0], e.strerror))
sys.exit(1)
if stdoutff:

View File

@ -21,7 +21,8 @@ cp -fv grc.1 $MANDIR/man1
cp -fv grcat.1 $MANDIR/man1
mkdir -p $CONFDIR
cp -fv grc.conf $CONFDIR
cp -fv grc.zsh $CONFDIR
cp -fv grc.fish $CONFDIR
mkdir -p $PROFILEDIR
cp -fv grc.bashrc $PROFILEDIR