4 changed files with 23 additions and 3 deletions
@ -0,0 +1,2 @@ |
|||||
|
exec pdm-build -v data -v files "$@" |
||||
|
|
@ -0,0 +1,18 @@ |
|||||
|
#!/bin/sh |
||||
|
|
||||
|
USE_HOST=www.alemor.org |
||||
|
|
||||
|
mkdir -p $HOME/vol/nextcloud/data $HOME/vol/nextcloud/files |
||||
|
cp data/* $HOME/vol/nextcloud/data/ |
||||
|
sed -e "s/example.domain.com/$USE_HOST/" data/host.config.php > $HOME/vol/nextcloud/data/host.config.php |
||||
|
|
||||
|
mkdir -p assets/nextcloud |
||||
|
cd assets/nextcloud |
||||
|
if [ -e latest.zip ]; then |
||||
|
echo Available Nextcloud files: |
||||
|
ls -lF |
||||
|
else |
||||
|
wget --progress=dot:giga https://download.nextcloud.com/server/releases/latest.zip |
||||
|
fi |
||||
|
|
||||
|
|
Loading…
Reference in new issue