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