Hi all, I've moved Wireshark from /usr/sbin/ directory to /usr/bin/ in rawhide (https://bugzilla.redhat.com/show_bug.cgi?id=1393855), but it broke the %post scriptlet in case of update (there is no problem with installation), more specifically this part: %post gtk ... /usr/sbin/update-alternatives --install %{_bindir}/wireshark %{name} %{_bindir}/wireshark-gtk 10 (complete spec file: http://pkgs.fedoraproject.org/cgit/rpms/wireshark.git/tree/wireshark.spec#n316 ) The problem is that the original "wireshark" link was pointing to /usr/sbin/ directory and now I'm trying to update link which doesn't exist. What would be a correct way to handle this situation? My idea is to remove all links to "wireshark" but update-alternatives does not have any option like "--remove-all". Thanks for any advice, Martin -- Martin Sehnoutka | Associate Software Engineer PGP: 5FD64AF5 UTC+1 (CET) RED HAT | TRIED. TESTED. TRUSTED. |
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx