diff options
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 |