Pierre Rudloff
9 years ago
committed by
Fredrik Fornwall
2 changed files with 42 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://github.com/KittyKatt/screenFetch |
|||
TERMUX_PKG_DESCRIPTION="Bash Screenshot Information Tool" |
|||
TERMUX_PKG_VERSION=3.7.0 |
|||
TERMUX_PKG_SRCURL=https://github.com/KittyKatt/screenFetch/archive/v${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_BUILD_IN_SRC=yes |
|||
TERMUX_PKG_FOLDERNAME=screenFetch-${TERMUX_PKG_VERSION} |
|||
TERMUX_PKG_DEPENDS="" |
|||
TERMUX_PKG_MAINTAINER="Pierre Rudloff <contact@rudloff.pro>" |
|||
|
|||
termux_step_make_install () { |
|||
install screenfetch-dev ${TERMUX_PREFIX}/bin/screenfetch |
|||
install screenfetch.1 ${TERMUX_PREFIX}/share/man/man1/ |
|||
} |
@ -0,0 +1,29 @@ |
|||
diff --git a/screenfetch-dev b/screenfetch-dev
|
|||
index 56837fe..8d4a8c1 100755
|
|||
--- a/screenfetch-dev
|
|||
+++ b/screenfetch-dev
|
|||
@@ -4134,15 +4134,15 @@ if [[ "$overrideDisplay" ]]; then
|
|||
fi |
|||
|
|||
# Check for android |
|||
-#if type -p getprop >/dev/null 2>&1; then
|
|||
-# distro="Android"
|
|||
-# detectmem
|
|||
-# detectuptime
|
|||
-# detectkernel
|
|||
-# detectdroid
|
|||
-# infoDisplay
|
|||
-# exit 0
|
|||
-#fi
|
|||
+if type -p getprop >/dev/null 2>&1; then
|
|||
+ distro="Android"
|
|||
+ detectmem
|
|||
+ detectuptime
|
|||
+ detectkernel
|
|||
+ detectdroid
|
|||
+ infoDisplay
|
|||
+ exit 0
|
|||
+fi
|
|||
|
|||
for i in "${display[@]}"; do |
|||
if [[ ! "$i" == "" ]]; then |
Loading…
Reference in new issue