scapy/scapy-2.2.0-xdg-open.patch
Troy Dawson 6fdb91b707 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/scapy#8dc1c42f94b7a283b0534c2673a5b3980e412828
2020-10-15 09:22:40 -07:00

25 lines
636 B
Diff

# HG changeset patch
# User Lubomir Rintel <lkundrak@v3.sk>
# Date 1411237938 -7200
# Node ID 0ce553161b799e9dc91f63de73dfdb0f50360056
# Parent ac04713bb61839a3476b72118e3d1c3ce5c81e86
Do not default to acroread and gv
They are not very likely to be present nowadays. Default to user's preferred
application instead.
diff --git a/scapy/config.py b/scapy/config.py
--- a/scapy/config.py
+++ b/scapy/config.py
@@ -56,8 +56,8 @@
class ProgPath(ConfClass):
- pdfreader = "acroread"
- psreader = "gv"
+ pdfreader = "xdg-open"
+ psreader = "xdg-open"
dot = "dot"
display = "display"
tcpdump = "tcpdump"