From 050df52b21ecf3cf53ab56408b72f9ea222b0a46 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 1 May 2024 21:57:56 -0400 Subject: [PATCH] test --- 022-Fastfetch-Ubuntu_Repo.sh => 022-Fastfetch_Ubuntu_Repo.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename 022-Fastfetch-Ubuntu_Repo.sh => 022-Fastfetch_Ubuntu_Repo.sh (90%) diff --git a/022-Fastfetch-Ubuntu_Repo.sh b/022-Fastfetch_Ubuntu_Repo.sh similarity index 90% rename from 022-Fastfetch-Ubuntu_Repo.sh rename to 022-Fastfetch_Ubuntu_Repo.sh index 690d547..c275d82 100644 --- a/022-Fastfetch-Ubuntu_Repo.sh +++ b/022-Fastfetch_Ubuntu_Repo.sh @@ -6,7 +6,8 @@ source "$SCRIPTDIR/common/colors.sh" source "$SCRIPTDIR/common/functions.sh" source "$SCRIPTDIR/common/load-defaults.sh" -if [ get_distro == *"Ubuntu"* ] +distro=get_distro +if [ $distro == *"Ubuntu"* ] 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