#!/bin/bash app_name="dbgate" version="5.5.6" 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"