update adguardhome and metabase

This commit is contained in:
thomas 2022-03-24 01:50:20 +01:00
parent 188ffb6c70
commit a036a3516f
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=0.108.0-b.4
VERSION=0.108.0-b.5
RELEASE=1
[ -e ./lib/function.sh ] && source ./lib/function.sh

View File

@ -1 +1 @@
/etc/defaults/adguardhome
/etc/default/adguardhome

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=0.42.2
VERSION=0.42.3
RELEASE=2
[ -e ./lib/function.sh ] && source ./lib/function.sh
@ -16,7 +16,7 @@ STEP="envinit prebuild build makedeb"
envinit() {
if [ $(dpkg -l | grep -e 'ii nodejs ' | wc -l) -eq 1 ];
then
then
apt-get update
apt-get dist-upgrade -y
else
@ -45,7 +45,7 @@ build() {
makedeb(){
PATH_DEB=/tmp/src/rootfs
cp /tmp/${APP}/target/uberjar/metabase.jar ${PATH_DEB}/usr/share/metabase/
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist