diff options
-rwxr-xr-x | andbackup.sh | 9 |
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() { |