add dbgate

master
yutent 2024-09-04 10:03:12 +08:00
parent b24e660ff9
commit 701e7fd2ce
1 changed files with 18 additions and 0 deletions

18
dbgate/package.sh Executable file
View File

@ -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"