Remove gnusocial user
This commit is contained in:
parent
6d786a6c80
commit
e3c83a8eeb
|
@ -61,6 +61,15 @@ if grep -q "install_sip" $COMPLETION_FILE; then
|
||||||
${PROJECT_NAME}-rmsipuser $MY_USERNAME
|
${PROJECT_NAME}-rmsipuser $MY_USERNAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if grep -q "GNU Social domain" $COMPLETION_FILE; then
|
||||||
|
MICROBLOG_DOMAIN_NAME=$(cat $COMPLETION_FILE | grep "GNU Social domain" | awk -F ':' '{print $2}')
|
||||||
|
if [ -d /var/www/$MICROBLOG_DOMAIN_NAME ]; then
|
||||||
|
cd /var/www/$MICROBLOG_DOMAIN_NAME/htdocs
|
||||||
|
php scripts/deleteprofile.php -n $MY_USERNAME -y
|
||||||
|
echo $'Removed GNU Social user'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#if grep -q "install_owncloud" $COMPLETION_FILE; then
|
#if grep -q "install_owncloud" $COMPLETION_FILE; then
|
||||||
# occ user:delete $MY_USERNAME
|
# occ user:delete $MY_USERNAME
|
||||||
#fi
|
#fi
|
||||||
|
|
Loading…
Reference in New Issue