summaryrefslogtreecommitdiff
path: root/libpiny/lib/Piny/Config.pm
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-11 22:17:04 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-05-11 22:17:04 -0700
commitf4cb34f8a67c1a0db62633cf6547b3c08e68c976 (patch)
treeaa8a0ba47a4b70e3bd977dfed8d820def79d97d5 /libpiny/lib/Piny/Config.pm
parenta6674104d95c50d6bd697c22087181289c64883b (diff)
downloadpiny-code-f4cb34f8a67c1a0db62633cf6547b3c08e68c976.tar.gz
piny-code-f4cb34f8a67c1a0db62633cf6547b3c08e68c976.zip
switch piny_permission over to git-config-valid values
Diffstat (limited to 'libpiny/lib/Piny/Config.pm')
-rw-r--r--libpiny/lib/Piny/Config.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpiny/lib/Piny/Config.pm b/libpiny/lib/Piny/Config.pm
index 3c1ae3f..520e849 100644
--- a/libpiny/lib/Piny/Config.pm
+++ b/libpiny/lib/Piny/Config.pm
@@ -47,8 +47,8 @@ subtype 'HttpsUrl'
subtype 'RepoPermission'
=> as 'Str'
- => where { $_ eq "666" or $_ eq "664" or $_ eq "660" or $_ eq "640" }
- => message { 'Must be one of 666, 664, 660, or 640.' }
+ => where { $_ eq "0666" or $_ eq "0664" or $_ eq "0660" or $_ eq "0640" }
+ => message { 'Must be one of 0666, 0664, 0660, or 0640.' }
;
# Attributes
@@ -245,7 +245,7 @@ tweakable "piny_ikiwikisrcdir" => "/srv/ikiwiki/", 'PathDir';
tweakable "piny_ikiwikiurl" => "http://piny.be/", 'HttpUrl';
tweakable "piny_ikiwikisecureurl" => "https://secure.piny.be/", 'HttpsUrl';
tweakable "piny_ikiwikisecurepath" => "/srv/www/secure.piny.be/", 'PathDir';
-tweakable "piny_permission" => '664', 'RepoPermission';
+tweakable "piny_permission" => '0664', 'RepoPermission';
tweakable "receive_denynonfastforwards" => "true", 'GitBool';
# User-specific tweakables, in the users' ~/.gitconfig files.