fix(nextcloud): copy extracted dotfiles during init install
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/bf1371c0-14ee-477b-9d30-baf97d8f853c Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d636e0fa38
commit
37370fd12f
@@ -97,7 +97,7 @@ lib.mkIf config.sovran_systemsOS.services.nextcloud {
|
|||||||
curl -L -o "$TEMP_DIR/nextcloud.zip" "https://download.nextcloud.com/server/releases/latest.zip"
|
curl -L -o "$TEMP_DIR/nextcloud.zip" "https://download.nextcloud.com/server/releases/latest.zip"
|
||||||
unzip -q "$TEMP_DIR/nextcloud.zip" -d "$TEMP_DIR"
|
unzip -q "$TEMP_DIR/nextcloud.zip" -d "$TEMP_DIR"
|
||||||
mkdir -p "$INSTALL_DIR"
|
mkdir -p "$INSTALL_DIR"
|
||||||
cp -a "$TEMP_DIR/nextcloud/"* "$INSTALL_DIR/"
|
cp -a "$TEMP_DIR/nextcloud/." "$INSTALL_DIR/"
|
||||||
rm -rf "$TEMP_DIR"
|
rm -rf "$TEMP_DIR"
|
||||||
echo "Download complete."
|
echo "Download complete."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user