Avoid multiple ownclouds
This commit is contained in:
parent
e9cb212cf2
commit
c25806ed8b
|
@ -3121,7 +3121,7 @@ function install_owncloud {
|
||||||
OWNCLOUD_ADMIN_PASSWORD=$(openssl rand -base64 32)
|
OWNCLOUD_ADMIN_PASSWORD=$(openssl rand -base64 32)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! grep -q "Database user: owncloudadmin" /home/$MY_USERNAME/README; then
|
if ! grep -q "Owncloud database user" /home/$MY_USERNAME/README; then
|
||||||
echo '' >> /home/$MY_USERNAME/README
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
echo '' >> /home/$MY_USERNAME/README
|
echo '' >> /home/$MY_USERNAME/README
|
||||||
echo 'Owncloud' >> /home/$MY_USERNAME/README
|
echo 'Owncloud' >> /home/$MY_USERNAME/README
|
||||||
|
|
Loading…
Reference in New Issue