Packages: Remove 'pisi'.
This commit is contained in:
parent
b22efefee3
commit
f2f50f2b7e
8
neofetch
8
neofetch
|
@ -442,14 +442,8 @@ get_packages() {
|
||||||
type -p Compile >/dev/null && \
|
type -p Compile >/dev/null && \
|
||||||
packages="$((packages+=$(ls -d -1 /Programs/*/ | wc -l)))"
|
packages="$((packages+=$(ls -d -1 /Programs/*/ | wc -l)))"
|
||||||
|
|
||||||
# pisi is sometimes unavailable in Solus(?). This uses eopkg
|
type -p eopkg >/dev/null && \
|
||||||
# instead if pisi isn't found.
|
|
||||||
if type -p pisi >/dev/null; then
|
|
||||||
packages="$((packages+=$(pisi list-installed | wc -l)))"
|
|
||||||
|
|
||||||
elif type -p eopkg >/dev/null; then
|
|
||||||
packages="$((packages+=$(eopkg list-installed | wc -l)))"
|
packages="$((packages+=$(eopkg list-installed | wc -l)))"
|
||||||
fi
|
|
||||||
|
|
||||||
if type -p pkg >/dev/null; then
|
if type -p pkg >/dev/null; then
|
||||||
packages="$((packages+=$(ls -1 /var/db/pkg | wc -l)))"
|
packages="$((packages+=$(ls -1 /var/db/pkg | wc -l)))"
|
||||||
|
|
Reference in New Issue