mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	MariaDB CLI Update, Go Install Helper & Minor Cleanup (#4793)
* . * switch mysql to mariadb * fix some basenames * remove basename to correct filename * merge firefly from main
This commit is contained in:
		@@ -16,7 +16,7 @@ update_os
 | 
			
		||||
msg_info "Setup TriliumNext"
 | 
			
		||||
cd /opt
 | 
			
		||||
RELEASE=$(curl -fsSL https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
			
		||||
curl -fsSL "https://github.com/TriliumNext/Notes/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" -o $(basename "https://github.com/TriliumNext/Notes/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz")
 | 
			
		||||
curl -fsSL "https://github.com/TriliumNext/Notes/releases/download/v${RELEASE}/TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz" -o "TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz"
 | 
			
		||||
tar -xf TriliumNextNotes-Server-v${RELEASE}-linux-x64.tar.xz
 | 
			
		||||
mv TriliumNextNotes-Server-$RELEASE-linux-x64 /opt/trilium
 | 
			
		||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user