Merge pull request #258 from naturallaw777/copilot/fix-nextcloud-dotfiles-issue

Fix Nextcloud core integrity check by preserving dotfiles during install
This commit is contained in:
Sovran_Systems
2026-04-15 13:41:01 -05:00
committed by GitHub
+1 -1
View File
@@ -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