summaryrefslogtreecommitdiff
path: root/andbackup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'andbackup.sh')
-rwxr-xr-xandbackup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/andbackup.sh b/andbackup.sh
index 4296973..6232fe2 100755
--- a/andbackup.sh
+++ b/andbackup.sh
@@ -174,7 +174,9 @@ backup_app() {
list_apps() {
- pm list package | cut -d ':' -f 2 | sort
+ for i in $(ls /data/app); do
+ printf "%s\n" "${i%-*}"
+ done
}

Generated by cgit