summaryrefslogtreecommitdiff
path: root/src/stats.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-30 18:36:34 +0000
committerdavidovski <david@davidovski.xyz>2022-07-30 18:36:34 +0000
commite7b2de40c6d03f3a5b4fb3906ef826ad169a7cb2 (patch)
tree6fbd6b2465552826c740c7efd5c492c865b1bfec /src/stats.sh
parentd24c110caab48002edb5a3e2c41876e6e0a7a6ed (diff)
sysroot is now included in functions themselvesv1.7.2
Diffstat (limited to 'src/stats.sh')
-rw-r--r--src/stats.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.sh b/src/stats.sh
index 8c2c1be..903bfde 100644
--- a/src/stats.sh
+++ b/src/stats.sh
@@ -9,7 +9,7 @@ show_xipkg_stats () {
local installed=0
for package in $(list); do
total=$((total+1))
- [ -d ${INSTALLED_DIR}/${package} ] &&
+ [ -d ${SYSROOT}${INSTALLED_DIR}/${package} ] &&
installed=$((installed+1))
done