summaryrefslogtreecommitdiff
path: root/libpiny/lib/Piny/Config.pm
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-22 22:19:16 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-24 18:17:56 -0700
commitff4ff7c79ee0f37e84471e93804a95074b8e84ae (patch)
tree673bb248a83417c7ac5822debf3fa9818525887e /libpiny/lib/Piny/Config.pm
parent4965b97b6dc3e4fac4c2a8271dfd91a3ea2ccde6 (diff)
downloadpiny-code-ff4ff7c79ee0f37e84471e93804a95074b8e84ae.tar.gz
piny-code-ff4ff7c79ee0f37e84471e93804a95074b8e84ae.zip
Attempt to support core.sharedRepository
Diffstat (limited to 'libpiny/lib/Piny/Config.pm')
-rw-r--r--libpiny/lib/Piny/Config.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpiny/lib/Piny/Config.pm b/libpiny/lib/Piny/Config.pm
index a1813d4..1da5631 100644
--- a/libpiny/lib/Piny/Config.pm
+++ b/libpiny/lib/Piny/Config.pm
@@ -49,8 +49,8 @@ subtype 'HttpsUrl'
subtype 'RepoPermission'
=> as 'Str'
- => where { $_ eq "0666" or $_ eq "0664" or $_ eq "0660" or $_ eq "0640" or $_ eq "group" or $_ eq "true" or $_ eq "false" or $_ eq "all" or $_ eq "everybody" or $_ eq "world"}
- => message { 'Must be one of 0666, 0664 (or all, everybody, world), 0660 (or true, group), or 0640 (or false).' }
+ => where { $_ eq "0666" or $_ eq "0664" or $_ eq "0660" or $_ eq "0640" or $_ eq "group" or $_ eq "true" or $_ eq "false" or $_ eq "all" or $_ eq "everybody" or $_ eq "world" or $_ eq "1" or $_ eq "2" }
+ => message { 'Must be one of 0666, 0664 (or all, everybody, world), 0660 (or true, 1, group), or 0640 (or false, 0).' }
;
# Attributes