summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2017-03-04 00:29:41 -0700
committerAaron Ball <nullspoon@oper.io>2017-03-04 00:29:41 -0700
commitcebce6197936fb12c4ef2a392c718fb134aadc79 (patch)
tree0f72b70bc63eeff33d1bcda1fb1ad9a7b9f37f53
parentc209f94dc31b4962b9f268de6e95066cde6f8978 (diff)
parenta27688a4595ac48b065934c7fb9dacacfa8fd8e5 (diff)
downloadandbackup-cebce6197936fb12c4ef2a392c718fb134aadc79.tar.gz
andbackup-cebce6197936fb12c4ef2a392c718fb134aadc79.tar.xz
Merge branch 'listpackages'
-rwxr-xr-xandbackup.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/andbackup.sh b/andbackup.sh
index 52a24cc..5ada59d 100755
--- a/andbackup.sh
+++ b/andbackup.sh
@@ -98,12 +98,9 @@ backup_app() {
}
-# function list_apps {
-# cd ${userdata}
-# for dir in *; do
-# linfo ${dir%-*}
-# done
-# }
+function list_apps {
+ pm list package | cut -d ':' -f 2 | sort
+}
restore_app() {

Generated by cgit