1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Added --arch-pkg option to package.py

Otherwise, AUR packages don't work with Arch lookalikes like Manjaro.
This commit is contained in:
Virgil Dupras
2014-10-17 15:58:45 -04:00
parent 6e7b95b2cf
commit 79800bc6ed
2 changed files with 42 additions and 28 deletions

View File

@@ -214,7 +214,10 @@ def main():
if ISWINDOWS:
package_windows(edition, dev)
elif ISLINUX:
distname, _, _ = platform.dist()
if not args.arch_pkg:
distname, _, _ = platform.dist()
else:
distname = 'arch'
if distname == 'arch':
package_arch(edition)
else:
@@ -224,3 +227,4 @@ def main():
if __name__ == '__main__':
main()