From 5cb25f859d9a75d0d1420d13a9da60ce20813164 Mon Sep 17 00:00:00 2001 From: Ohio2 Date: Tue, 13 Jul 2021 22:13:12 +0200 Subject: [PATCH] update ufetch --- ufetch/payload/usr/bin/patch | 8 -------- ufetch/payload/usr/bin/ufetch | 4 ++-- ufetch/postdeploy | 1 - 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 ufetch/payload/usr/bin/patch delete mode 100755 ufetch/postdeploy diff --git a/ufetch/payload/usr/bin/patch b/ufetch/payload/usr/bin/patch deleted file mode 100644 index 2b2f7f8..0000000 --- a/ufetch/payload/usr/bin/patch +++ /dev/null @@ -1,8 +0,0 @@ -9c9 -< os='Linux' # I'd just like to interject for a moment... ---- -> os='Alnux' # I'd just like to interject for a moment... Alnux is a linux distro that is closed down and tightly controlled... -12c12 -< packages='unknown' ---- -> packages="$(aps list | wc -l)" diff --git a/ufetch/payload/usr/bin/ufetch b/ufetch/payload/usr/bin/ufetch index dab7533..8f6284b 100755 --- a/ufetch/payload/usr/bin/ufetch +++ b/ufetch/payload/usr/bin/ufetch @@ -6,10 +6,10 @@ # user is already defined host="$(hostname)" -os='Linux' # I'd just like to interject for a moment... +os='Alnux' # I'd just like to interject for a moment... kernel="$(uname -sr)" uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')" -packages='unknown' +packages='$(aps list | wc -l)' shell="$(basename "${SHELL}")" ## UI DETECTION diff --git a/ufetch/postdeploy b/ufetch/postdeploy deleted file mode 100755 index 0a6937b..0000000 --- a/ufetch/postdeploy +++ /dev/null @@ -1 +0,0 @@ -patch -p1 < patch