Browse Source

Remove owncloud user

Bob Mottram 9 years ago
parent
commit
236c65d70a
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-rmuser

+ 4
- 0
src/freedombone-rmuser View File

@@ -56,6 +56,10 @@ if grep -q "install_sip" $COMPLETION_FILE; then
56 56
     freedombone-rmsipuser $MY_USERNAME
57 57
 fi
58 58
 
59
+if grep -q "install_owncloud" $COMPLETION_FILE; then
60
+    occ user:delete $MY_USERNAME
61
+fi
62
+
59 63
 userdel -r $MY_USERNAME
60 64
 
61 65
 if [ -d /home/$MY_USERNAME ]; then