Compare commits

...

2 Commits

7 changed files with 27 additions and 35 deletions

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=4.34.6 VERSION=4.35.0
RELEASE=1 RELEASE=1
[ -e ./lib/function.sh ] && source ./lib/function.sh [ -e ./lib/function.sh ] && source ./lib/function.sh
@ -16,17 +16,13 @@ STEP="envinit prebuild build makedeb"
envinit() { envinit() {
apt-get update apt-get update
if [ $(dpkg -l | grep -e 'ii nodejs ' | wc -l) -eq 1 ]; apt-get dist-upgrade -y
then apt install -y --no-install-recommends git wget ca-certificates dpkg fakeroot build-essential
apt-get dist-upgrade -y wget -qO - https://deb.nodesource.com/setup_16.x | bash
else apt-get update
apt install -y --no-install-recommends git wget ca-certificates dpkg fakeroot build-essential apt-get install -y nodejs
wget -qO - https://deb.nodesource.com/setup_16.x | bash wget -qO - https://go.dev/dl/go1.18.1.linux-amd64.tar.gz | tar -C /usr/local -xz
apt-get update wget -qO - https://get.pnpm.io/install.sh | sh -
apt-get install -y nodejs
wget -qO - https://go.dev/dl/go1.17.7.linux-amd64.tar.gz | tar -C /usr/local -xz
wget -qO - https://get.pnpm.io/install.sh | sh -
fi
} }
prebuild(){ prebuild(){

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.10.10 VERSION=1.10.11
[ -e ./lib/function.sh ] && source ./lib/function.sh [ -e ./lib/function.sh ] && source ./lib/function.sh

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.16.5 VERSION=1.16.7
[ -e ./lib/function.sh ] && source ./lib/function.sh [ -e ./lib/function.sh ] && source ./lib/function.sh
@ -15,16 +15,12 @@ STEP="envinit prebuild build makedeb"
envinit() { envinit() {
apt-get update apt-get update
if [ $(dpkg -l | grep -e 'ii nodejs ' | wc -l) -eq 1 ]; apt-get dist-upgrade -y
then apt install -y --no-install-recommends git wget ca-certificates dpkg fakeroot build-essential
apt-get dist-upgrade -y wget -qO - https://deb.nodesource.com/setup_16.x | bash
else apt-get update
apt install -y --no-install-recommends git wget ca-certificates dpkg fakeroot build-essential apt-get install -y nodejs
wget -qO - https://deb.nodesource.com/setup_16.x | bash wget -qO - https://go.dev/dl/go1.17.7.linux-amd64.tar.gz | tar -C /usr/local -xz
apt-get update
apt-get install -y nodejs
wget -qO - https://go.dev/dl/go1.17.7.linux-amd64.tar.gz | tar -C /usr/local -xz
fi
} }
prebuild(){ prebuild(){

View File

@ -1,15 +1,15 @@
#!/bin/bash #!/bin/bash
VERSION=10.0.0-rc3 VERSION=10.0.0
[ -e ./lib/function.sh ] && source ./lib/function.sh [ -e ./lib/function.sh ] && source ./lib/function.sh
APP=glpi APP=glpi
DEPOT=https://github.com/tomamplius/glpi.git DEPOT=https://github.com/glpi-project/glpi.git
GIT_VERSION=${VERSION} GIT_VERSION=${VERSION}
DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M) DEB_VERSION=${VERSION}-$(date +%Y%m%d%H%M)
DEBIAN_VERSION_CODENAME=bullseye DEBIAN_VERSION_CODENAME=bullseye
IMAGE_SIZE=2 IMAGE_SIZE=4
STEP="envinit prebuild build makedeb" STEP="envinit prebuild build makedeb"
@ -46,14 +46,14 @@ makedeb(){
mv ${PATH_DEB}/usr/share/glpi/files ${PATH_DEB}/var/lib/glpi/ mv ${PATH_DEB}/usr/share/glpi/files ${PATH_DEB}/var/lib/glpi/
ln -s /var/lib/glpi/files ${PATH_DEB}/usr/share/glpi/files ln -s /var/lib/glpi/files ${PATH_DEB}/usr/share/glpi/files
mv ${PATH_DEB}/usr/share/glpi/marketplace ${PATH_DEB}/var/lib/glpi/ mv ${PATH_DEB}/usr/share/glpi/marketplace ${PATH_DEB}/var/lib/glpi/
ln -s /var/lib/glpi/marketplace ${PATH_DEB}/usr/share/glpi/marketplace ln -s /var/lib/glpi/marketplace ${PATH_DEB}/usr/share/glpi/marketplace
cp -r ${PATH_DEB}/usr/share/glpi/config/. ${PATH_DEB}/etc/glpi/ cp -r ${PATH_DEB}/usr/share/glpi/config/. ${PATH_DEB}/etc/glpi/
rm -fr ${PATH_DEB}/usr/share/glpi/config/ rm -fr ${PATH_DEB}/usr/share/glpi/config/
ln -s /etc/glpi/ ${PATH_DEB}/usr/share/glpi/config ln -s /etc/glpi/ ${PATH_DEB}/usr/share/glpi/config
sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control sed -i "s/%VERSION%/$DEB_VERSION/" ${PATH_DEB}/DEBIAN/control
fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist fakeroot dpkg-deb -Z gzip --build ${PATH_DEB} /tmp/dist
} }

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
GIT_VERSION=v2.8.2 GIT_VERSION=v2.8.6
DEB_VERSION_DESKTOP=2.8.2-$(date +%Y%m%d%H%M) DEB_VERSION_DESKTOP=2.8.6-$(date +%Y%m%d%H%M)
DEB_VERSION_SERVER=2.7.4-$(date +%Y%m%d%H%M) DEB_VERSION_SERVER=2.7.8-$(date +%Y%m%d%H%M)
[ -e ./lib/function.sh ] && source ./lib/function.sh [ -e ./lib/function.sh ] && source ./lib/function.sh

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION=1.25.0 VERSION=1.25.1
[ -e ./lib/function.sh ] && source ./lib/function.sh [ -e ./lib/function.sh ] && source ./lib/function.sh