Single quote

This commit is contained in:
Bob Mottram 2017-04-22 09:54:08 +01:00
parent f2d1f0f860
commit 8cd40f632d
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ function gnusocial_block_domain_script {
echo ' if [ $ctr -gt 0 ]; then' >> /usr/bin/gnusocial-delete-domain echo ' if [ $ctr -gt 0 ]; then' >> /usr/bin/gnusocial-delete-domain
echo ' #echo "Removing user ID $id on $remove_domain"' >> /usr/bin/gnusocial-delete-domain echo ' #echo "Removing user ID $id on $remove_domain"' >> /usr/bin/gnusocial-delete-domain
echo '' >> /usr/bin/gnusocial-delete-domain echo '' >> /usr/bin/gnusocial-delete-domain
echo " database_query=\"delete from conversation where uri like \"%\${remove_domain}%';\"" >> /usr/bin/gnusocial-delete-domain echo " database_query=\"delete from conversation where uri like '%\${remove_domain}%';\"" >> /usr/bin/gnusocial-delete-domain
echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-domain echo ' mysql -u root --password="$MARIADB_PASSWORD" -e "$database_query" $database_name' >> /usr/bin/gnusocial-delete-domain
echo '' >> /usr/bin/gnusocial-delete-domain echo '' >> /usr/bin/gnusocial-delete-domain
echo ' database_query="delete from reply where profile_id=${id};"' >> /usr/bin/gnusocial-delete-domain echo ' database_query="delete from reply where profile_id=${id};"' >> /usr/bin/gnusocial-delete-domain