Username after sources

This commit is contained in:
Bob Mottram 2016-10-29 19:07:41 +01:00
parent cf0eefb56a
commit ff0d92f607
1 changed files with 2 additions and 1 deletions

View File

@ -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