From 701e7fd2ce4e27b7e0cf8e593d0b05b69bff6099 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 4 Sep 2024 10:03:12 +0800 Subject: [PATCH] add dbgate --- dbgate/package.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 dbgate/package.sh diff --git a/dbgate/package.sh b/dbgate/package.sh new file mode 100755 index 0000000..725632f --- /dev/null +++ b/dbgate/package.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +app_name="dbgate" + +version="5.4.0" +release="v${version}" + + +deb_url="https://github.com/dbgate/dbgate/releases/download/${release}/dbgate-${version}-linux_amd64.deb" + + +wget $deb_url -O "${app_name}_${version}.deb" + +apt install "./${app_name}_${version}.deb" + +upload_deb + +rm -rf "${app_name}_${version}.deb"