Create the .seafile directory at moment of build

This commit is contained in:
flow.gunso
2020-01-06 18:25:53 +01:00
parent 8b00ea6bcb
commit eb5c9a1650
2 changed files with 3 additions and 4 deletions

View File

@@ -20,9 +20,6 @@
seafile_ini=~/.ccnet/seafile.ini
seafile_sock=~/.seafile/seafile-data/seafile.sock
# Prepare the directories.
mkdir ~/.seafile
# Safely initialise the Seafile client.
/usr/bin/seaf-cli init -d ~/.seafile
while [ ! -f $seafile_ini ]; do sleep 1; done