update
parent
900c77bd4d
commit
4a04fc41d7
|
@ -2,7 +2,7 @@
|
|||
|
||||
app_name="gitea"
|
||||
tmp_dir="/tmp/${app_name}_tmp"
|
||||
version="1.22"
|
||||
version="1.22.3"
|
||||
release="v${version}"
|
||||
deb_arch="amd64"
|
||||
|
||||
|
@ -51,9 +51,9 @@ mv ${tmp_dir}/gitea ./unpack/usr/bin/
|
|||
chmod +x ./unpack/usr/bin/gitea
|
||||
|
||||
echo "下载service文件和协议文件"
|
||||
wget "https://raw.githubusercontent.com/go-gitea/gitea/release/${release}/contrib/systemd/gitea.service" -O ./unpack/usr/lib/systemd/system/gitea.service
|
||||
wget "https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/${release}/contrib/systemd/gitea.service" -O ./unpack/usr/lib/systemd/system/gitea.service
|
||||
wget https://raw.githubusercontent.com/go-gitea/gitea/main/LICENSE -O ./unpack/usr/share/licenses/gitea/LICENSE
|
||||
wget h"ttps://raw.githubusercontent.com/go-gitea/gitea/release/${release}/custom/conf/app.example.ini" -O ./unpack/etc/gitea/app.example.ini
|
||||
wget "https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/${release}/custom/conf/app.example.ini" -O ./unpack/etc/gitea/app.example.ini
|
||||
|
||||
rm -rf $tmp_dir
|
||||
|
||||
|
|
Loading…
Reference in New Issue