Username after sources
This commit is contained in:
parent
cf0eefb56a
commit
ff0d92f607
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue