From fc8d2f56a8104e755766fbbca4729906000cf78d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Aug 2009 19:03:08 -0400 Subject: 0.7.2 -- refactor slightly, flesh out plugin: users --- plugins/users/mkuser.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugins/users/mkuser.sh') diff --git a/plugins/users/mkuser.sh b/plugins/users/mkuser.sh index f07235b..6de768e 100644 --- a/plugins/users/mkuser.sh +++ b/plugins/users/mkuser.sh @@ -1,6 +1,6 @@ #!@SHELL@ -name='rvs mkuser' -ver='0.7.0' +name='rvs users mkuser' +ver='0.7.2' # Copyright (C) 2009 Luke Shumaker # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -9,6 +9,8 @@ ver='0.7.0' # # Originally written by Luke Shumaker . +source "$libexecdir/lib/stdio" + read -p 'username: ' author echo "$author" read -p 'give copyright to: ' owner @@ -18,7 +20,7 @@ if [ "$owner" != 'Public Domain' ]; then else license='' fi -cat << __EOF__ > "$REPO/$author" +cat << __EOF__ > "$REPO/users/$author" author:$author owner:$owner license:$license -- cgit v1.2.3-54-g00ecf