Skip to content

Commit 24d52f9

Browse files
committed
Fix build
Man page was deleted without actually updating setup.py
1 parent 81de64c commit 24d52f9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

iocage_lib/ioc_common.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,6 @@ def parse_package_name(pkg):
10951095

10961096

10971097
def get_host_gateways():
1098-
default_gw_labels = ('default', '0.0.0.0', '::/')
10991098
gateways = {'ipv4': {'gateway': None, 'interface': None},
11001099
'ipv6': {'gateway': None, 'interface': None}}
11011100
af_mapping = {
@@ -1117,7 +1116,7 @@ def get_host_gateways():
11171116
pass
11181117
else:
11191118
default_route = list(filter(
1120-
lambda x: x['destination'] in default_gw_labels, route_entries)
1119+
lambda x: x['destination'] == 'default', route_entries)
11211120
)
11221121
if default_route and 'gateway' in default_route[0]:
11231122
gateways[af_mapping[af]]['gateway'] = \

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030

3131
if os.path.isdir("/".join([sys.prefix, "etc/init.d"])):
3232
_data = [('etc/init.d', ['rc.d/iocage']),
33-
('share/man/man8', ['iocage.8.gz'])]
33+
('share/man/man8', ['iocage.8'])]
3434
else:
3535
_data = [('etc/rc.d', ['rc.d/iocage']),
36-
('share/man/man8', ['iocage.8.gz'])]
36+
('share/man/man8', ['iocage.8'])]
3737

3838
if os.path.isdir("/".join([sys.prefix, "share/zsh/site-functions/"])):
3939
_data.append(('share/zsh/site-functions', ['zsh-completion/_iocage']))

0 commit comments

Comments
 (0)