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