Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions pacli
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,11 @@ package_information()
#6 List Local Package Files
package_list_files()
{
declare pkg
pkg=($(print_enter "$(gettext 'Select a packages of which to list all files (use TAB to toggle selection)')" \
"$(helper '-Qq')" '-m' ))
(($?!=0)) && return 1
[ -z "$pkg" ] && return 1
pacman -Ql "${pkg[@]}" #helper -Ql "${pkg[*]}"
print_prompt "$(gettext 'All local files in package listed')." "" 1
declare pkg
pkg=($(print_enter "$(gettext 'Select a packages of which to list all files (use TAB to toggle selection)')" "$(helper '-Qq')" '-m'))
[[ $? != 0 || -z "$pkg" ]] && return 1
f=$(print_enter "$(gettext "Files from package(s) '${pkg[*]}'.")" "$(pacman -Ql "${pkg[@]}")")
unset f # we don't actually care about the choice
}

#13 fix errors
Expand Down