summaryrefslogtreecommitdiffstats
path: root/cnucnu/package_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'cnucnu/package_list.py')
-rwxr-xr-xcnucnu/package_list.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cnucnu/package_list.py b/cnucnu/package_list.py
index 074e8ae..09624a8 100755
--- a/cnucnu/package_list.py
+++ b/cnucnu/package_list.py
@@ -157,6 +157,10 @@ class Package(object):
if not name_override and name.startswith("perl-"):
name = name[len("perl-"):]
regex = "DEFAULT"
+ elif regex == "DRUPAL-DEFAULT":
+ branch = name[6]
+ regex = \
+ "(?s)Recommended releases.*?>{0}.x-([^<]*)".format(branch)
elif regex == "PEAR-DEFAULT":
# strip "php-pear-" prefix only if name was not overridden
if not name_override and name.startswith("php-pear-"):