test
This commit is contained in:
parent
7b9434fc3b
commit
050df52b21
@ -6,7 +6,8 @@ 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"
|
||||||
|
|
||||||
if [ get_distro == *"Ubuntu"* ]
|
distro=get_distro
|
||||||
|
if [ $distro == *"Ubuntu"* ]
|
||||||
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