From 3dc18057bdf427f4965b451df7f99c197fb9cb59 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 1 May 2024 22:08:01 -0400 Subject: [PATCH] test --- 022-Fastfetch_Ubuntu_Repo.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/022-Fastfetch_Ubuntu_Repo.sh b/022-Fastfetch_Ubuntu_Repo.sh index 9bd58da..77addb7 100644 --- a/022-Fastfetch_Ubuntu_Repo.sh +++ b/022-Fastfetch_Ubuntu_Repo.sh @@ -6,8 +6,10 @@ source "$SCRIPTDIR/common/colors.sh" source "$SCRIPTDIR/common/functions.sh" source "$SCRIPTDIR/common/load-defaults.sh" -distro=$( get_distro ) -if [ $distro == *"Ubuntu"* ] +#distro=$( get_distro ) +#if [ $distro == *"Ubuntu"* ] +#then +if [ -d /etc/apt/apt.conf.d ] then ppa_added=`grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -v list.save | grep -v deb-src | grep deb | grep fastfetch | wc -l` if $ppa_added