On 08/22/2017 10:16 PM, Daniel Ståhl wrote:
Från: Kevin Cummings [mailto:cummings@xxxxxxxxxxxxxxxxxx]
You can always wrap it with a shell script which prints something, then invokes the real dnf....
Yeah, but that wouldn't be permanent. And I've already registered a ticket, but thanks for the advise.
It would be permanent if you do it properly. That'd be either putting a
wrapper named "dnf" in a directory that appears earlier than /usr/bin in
the user's PATH variable (/usr/local/bin is suitable on my system), or
by putting a wrapper anywhere that's not called "dnf" and using sudo to
call that wrapper by its name. Either way:
#!/bin/sh
echo "Running dnf"
exec dnf "$@"
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx