build files for making podman containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
455 B

#!/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