19 lines
319 B
Bash
Executable File
19 lines
319 B
Bash
Executable File
#!/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"
|