diff options
Diffstat (limited to 'src/gitjoe/chdesc.pl')
-rwxr-xr-x | src/gitjoe/chdesc.pl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gitjoe/chdesc.pl b/src/gitjoe/chdesc.pl index 59a5025..4cae086 100755 --- a/src/gitjoe/chdesc.pl +++ b/src/gitjoe/chdesc.pl @@ -24,13 +24,7 @@ sub main { open(my $desc_fh, '>:encoding(UTF-8)', $home_dir . $repo . 'description'); print $desc_fh $desc; close($desc_fh); - # my (undef, undef, $uid, $gid) = getpwnam($usr); - # chown $uid, $gid, $home_dir . '.ssh/'; - # system( - # '/usr/local/bin/dash', - # '-c', - # '/usr/sbin/chown -v ' . $usr . ':' . $usr . ' ' . $home_dir . $repo . 'description' - # ); + substr($repo, -1) = ""; print "Changed git repository " . colored($repo, 'bold green') . " description for user " . colored($usr, 'bold') . ".\n" . "New description: ". colored($desc, 'bold green') . ".\n"; exit; |