summaryrefslogtreecommitdiff
path: root/andbackup.sh
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2018-07-07 00:38:57 -0600
committerAaron Ball <nullspoon@oper.io>2018-07-07 00:38:57 -0600
commit1cf5d1de084b9778b5dea30ceae2e88c36fd898a (patch)
tree2b09cc529f9d889b15a814ed50d4abf669a5707f /andbackup.sh
parent66c35a714b1c2dc17b740643a5813471b7fdaaa9 (diff)
parentd62372d41c04998165104b8ad068beddf8f29b74 (diff)
downloadandbackup-master.tar.gz
andbackup-master.tar.xz
Merge branch 'listinstalled'HEADmaster
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