summaryrefslogtreecommitdiff
path: root/plugins/users/mkuser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/users/mkuser.sh')
-rw-r--r--plugins/users/mkuser.sh19
1 files changed, 5 insertions, 14 deletions
diff --git a/plugins/users/mkuser.sh b/plugins/users/mkuser.sh
index 9296fef..68c16b2 100644
--- a/plugins/users/mkuser.sh
+++ b/plugins/users/mkuser.sh
@@ -1,6 +1,6 @@
#!@SHELL@
name='rvs users mkuser'
-ver='0.7.3'
+ver=0.8r61
# Copyright (C) 2009 Luke Shumaker
#
# This file is part of rvs.
@@ -19,20 +19,11 @@ ver='0.7.3'
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-source "$libexecdir/lib/stdio"
+source "$libexecdir/@ID@/stdio"
-read -p 'username: ' author
-echo "$author"
-read -p 'give copyright to: ' owner
-echo "$owner"
-if [ "$owner" != 'Public Domain' ]; then
- read -p 'use the license: ' license
-else
- license=''
-fi
-cat << __EOF__ > "$REPO/users/$author"
+author="$1"
+touch "$REPO/@ID@/users/$author"
+cat << __EOF__ > "$REPO/@ID@/users/$author"
author:$author
-owner:$owner
-license:$license
__EOF__