test
This commit is contained in:
parent
7d3e47515d
commit
3dc18057bd
@ -6,8 +6,10 @@ source "$SCRIPTDIR/common/colors.sh"
|
|||||||
source "$SCRIPTDIR/common/functions.sh"
|
source "$SCRIPTDIR/common/functions.sh"
|
||||||
source "$SCRIPTDIR/common/load-defaults.sh"
|
source "$SCRIPTDIR/common/load-defaults.sh"
|
||||||
|
|
||||||
distro=$( get_distro )
|
#distro=$( get_distro )
|
||||||
if [ $distro == *"Ubuntu"* ]
|
#if [ $distro == *"Ubuntu"* ]
|
||||||
|
#then
|
||||||
|
if [ -d /etc/apt/apt.conf.d ]
|
||||||
then
|
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`
|
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
|
if $ppa_added
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user