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