Move Wireshark from /usb/sbin into /usr/bin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux