mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 16:10:26 +00:00
👌 Replace deprecated distro.linux_distribution with distro.codename
This commit is contained in:
@@ -821,7 +821,7 @@ def gen_tarball():
|
|||||||
arch = 'i386'
|
arch = 'i386'
|
||||||
|
|
||||||
# determine linux distribution
|
# determine linux distribution
|
||||||
distribution = distro.linux_distribution()[-1].replace(' ', '-')
|
distribution = distro.codename().replace(' ', '-').lower()
|
||||||
|
|
||||||
dbg = ''
|
dbg = ''
|
||||||
if conf[CONF_NO_STRIP]:
|
if conf[CONF_NO_STRIP]:
|
||||||
|
Reference in New Issue
Block a user