summaryrefslogtreecommitdiff
path: root/plugins/users/mkuser.sh
diff options
context:
space:
mode:
authorLuke Shumaker <luke@HP-dv6426us-u904>2009-10-24 02:23:22 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:16 -0600
commitbddd6fb07906e660260ef0fced05440ecac8d9e9 (patch)
tree882c913e0cb2e89537747b90f8c47a65d5cd15d0 /plugins/users/mkuser.sh
parent1eddff249b2c7ce54544b840562e782501d47924 (diff)
switching to git
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__