Remove owncloud user

This commit is contained in:
Bob Mottram 2015-11-10 12:20:55 +00:00
parent 2e66e9039a
commit 236c65d70a
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@ if grep -q "install_sip" $COMPLETION_FILE; then
freedombone-rmsipuser $MY_USERNAME
fi
if grep -q "install_owncloud" $COMPLETION_FILE; then
occ user:delete $MY_USERNAME
fi
userdel -r $MY_USERNAME
if [ -d /home/$MY_USERNAME ]; then