fix nextcloud and modularize
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
EXPORT NC_USER="mathias"
|
||||
EXPORT NC_PASSWORD="$(rbw get Nextcloud)"
|
||||
|
||||
# Setup rbw
|
||||
rbw config set email mathias2784@web.de
|
||||
rbw register
|
||||
|
||||
nextcloudcmd --non-interactive \
|
||||
~/nextcloud \
|
||||
https://nextcloud.schneiderserver.site
|
||||
|
||||
# Nextcloud
|
||||
if [ ! -d "$HOME/nextcloud/local_configs" ]; then
|
||||
echo "Fehler: Benötige $HOME/nextcloud/local_configs" >&2
|
||||
exit 1
|
||||
fi
|
||||
stow --dir=$HOME/nextcloud/local_configs default
|
||||
Reference in New Issue
Block a user