diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2009-08-03 19:03:08 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:13 -0600 |
commit | fc8d2f56a8104e755766fbbca4729906000cf78d (patch) | |
tree | b902e17f5e59e960772d215ee613a73c8a87226b /plugins/users/mkuser.sh | |
parent | aa5141e77203fd084d809f27d55192a988723803 (diff) |
0.7.2 -- refactor slightly, flesh out plugin: users
Diffstat (limited to 'plugins/users/mkuser.sh')
-rw-r--r-- | plugins/users/mkuser.sh | 8 |
1 files changed, 5 insertions, 3 deletions
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 <lukeshu@sbcglobal.net>. +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 |