updated cache before "provides" listings
This commit is contained in:
parent
eddbe307c2
commit
e2789d200b
6
pman.sh
6
pman.sh
@ -48,6 +48,12 @@ fi
|
|||||||
if [ "$command_args" = "search" ]; then
|
if [ "$command_args" = "search" ]; then
|
||||||
command_args="-Ss"
|
command_args="-Ss"
|
||||||
elif [ "$command_args" = "provides" ]; then
|
elif [ "$command_args" = "provides" ]; then
|
||||||
|
# Update the cache
|
||||||
|
su_needed=true
|
||||||
|
command_args="-Fy"
|
||||||
|
execute_command "${@}"
|
||||||
|
|
||||||
|
su_needed=false
|
||||||
command_args="-F"
|
command_args="-F"
|
||||||
elif [ "$command_args" = "installed" ]; then
|
elif [ "$command_args" = "installed" ]; then
|
||||||
command_args="-Q"
|
command_args="-Q"
|
||||||
|
Loading…
Reference in New Issue
Block a user