summaryrefslogtreecommitdiff
path: root/app/models/packages/debian.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/packages/debian.rb')
-rw-r--r--app/models/packages/debian.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/packages/debian.rb b/app/models/packages/debian.rb
index e20f1b8244a..2daafe0ebcf 100644
--- a/app/models/packages/debian.rb
+++ b/app/models/packages/debian.rb
@@ -6,6 +6,8 @@ module Packages
COMPONENT_REGEX = DISTRIBUTION_REGEX.freeze
ARCHITECTURE_REGEX = %r{[a-z0-9][-a-z0-9]*}.freeze
+ LETTER_REGEX = %r{(lib)?[a-z0-9]}.freeze
+
def self.table_name_prefix
'packages_debian_'
end