Browse Source

screenfetch: Update from 3.8.0 to 3.9.0

emacs-27
Fredrik Fornwall 5 years ago
parent
commit
dd7485eda9
  1. 4
      packages/screenfetch/build.sh
  2. 12
      packages/screenfetch/screenfetch-dev.patch

4
packages/screenfetch/build.sh

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/KittyKatt/screenFetch
TERMUX_PKG_DESCRIPTION="Bash Screenshot Information Tool"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_DEPENDS="bash"
TERMUX_PKG_VERSION=3.8.0
TERMUX_PKG_VERSION=3.9.0
TERMUX_PKG_SRCURL=https://github.com/KittyKatt/screenFetch/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=248283ee3c24b0dbffb79ed685bdd518554073090c1c167d07ad2a729db26633
TERMUX_PKG_SHA256=b43c83ac0289861eb831d7672ef05c81f705f0d7222c206e5c8a5975cb216f4b
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_MAINTAINER="Pierre Rudloff @Rudloff"
TERMUX_PKG_PLATFORM_INDEPENDENT=true

12
packages/screenfetch/screenfetch-dev.patch

@ -0,0 +1,12 @@
diff -u -r ../screenFetch-3.9.0/screenfetch-dev ./screenfetch-dev
--- ../screenFetch-3.9.0/screenfetch-dev 2019-09-28 09:52:10.000000000 +0000
+++ ./screenfetch-dev 2019-10-06 08:11:06.979812728 +0000
@@ -1566,7 +1566,7 @@
hwmonfile=""
[ -e "$dir/name" ] && hwmonfile=$dir/name
[ -e "$dir/device/name" ] && hwmonfile=$dir/device/name
- [ -n "$hwmonfile" ] && if grep -q 'coretemp' "$hwmonfile"; then
+ [ -n "$hwmonfile" ] && [ -r "$hwmonfile" ] && if grep -q 'coretemp' "$hwmonfile"; then
thermal="$dir/temp1_input"
break
fi
Loading…
Cancel
Save