summaryrefslogtreecommitdiffstats
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 792c039..21c49fe 100644
--- a/main/models.py
+++ b/main/models.py
@@ -296,7 +296,8 @@ class Package(models.Model):
def get_svn_link(self, svnpath):
linkbase = "http://repos.archlinux.org/wsvn/%s/%s/%s/"
repo = self.repo.name.lower()
- if repo.startswith('community'):
+ # TODO: de-hackify and make this a property on repo object
+ if repo.startswith('community') or repo == 'multilib':
root = 'community'
else:
root = 'packages'