From ff0d92f607e525fc216d0eacbb63aae0c5d85493 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 29 Oct 2016 19:07:41 +0100 Subject: [PATCH] Username after sources --- src/freedombone-rmuser | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedombone-rmuser b/src/freedombone-rmuser index e3fcdc97..2cce8162 100755 --- a/src/freedombone-rmuser +++ b/src/freedombone-rmuser @@ -34,7 +34,6 @@ PROJECT_NAME='freedombone' export TEXTDOMAIN=${PROJECT_NAME}-rmuser export TEXTDOMAINDIR="/usr/share/locale" -MY_USERNAME=$1 COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-* @@ -49,6 +48,8 @@ do source $f done +MY_USERNAME=$1 + if [ ! $MY_USERNAME ]; then echo $'Please specify a username to remove' exit 1