Skip to content

Commit 8c9d82e

Browse files
committed
Update README and scripts to install git in the first place
1 parent e22fdd2 commit 8c9d82e

5 files changed

Lines changed: 16 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
# UpdatEngine-server #
33
######################
44

5+
## 7.1.3 (2025-01-14):
6+
7+
**🐛 Bug fix **
8+
9+
- Fix installation due changes for timezone from MariaDB 10.5
10+
- Update README and scripts to install git in the first place
11+
512
## 7.1.2 (2025-01-12):
613

714
**🐛 Bug fix **

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ UpdatEngine-server installation scripts for Debian/Ubuntu are located in the 'in
4949

5050
Customize your settings in this file (Installation directories, URL, database, SMTP...).
5151

52+
apt install git -y
5253
GIT_BRANCH=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/updatengine-ng/updatengine-server.git | tail --lines=1 | cut --delimiter='/' --fields=3)
5354
wget -O ./custom/.env https://raw.githubusercontent.com/updatengine-ng/updatengine-server/$GIT_BRANCH/install/debian/custom.dist/.env.default
5455
nano ./custom/.env
@@ -98,6 +99,7 @@ The distribution base image doesn't exist yet, so the container is built from so
9899

99100
Customize your settings in this file (Installation directories, URL, database, SMTP...).
100101

102+
apt install git -y
101103
GIT_BRANCH=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/updatengine-ng/updatengine-server.git | tail --lines=1 | cut --delimiter='/' --fields=3)
102104
wget -O ./custom/.env https://raw.githubusercontent.com/updatengine-ng/updatengine-server/$GIT_BRANCH/install/docker/custom.dist/.env.default
103105
nano ./custom/.env

install/debian/install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ fi
3232
# Check this current script line endings style
3333
grep -l $'\r' "${BASH_SOURCE[0]}" && echo "Error: Please convert the file "${BASH_SOURCE[0]}" to Linux-style line endings (LF) then run it again. You can use the next command \"sed -i 's/\r//g' ${BASH_SOURCE[0]}\"" && exit 1
3434

35+
# Install git
36+
apt install git -y
37+
3538
# By default, the installer uses the Git branch of the latest released version of UE.
3639
# User can define another branch by declaring it in environment variable before running the installation script.
3740
[ -z ${GIT_BRANCH} ] && GIT_BRANCH=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/updatengine-ng/updatengine-server.git | tail --lines=1 | cut --delimiter='/' --fields=3)
@@ -92,7 +95,7 @@ fi
9295

9396
# Install linux packages and python modules
9497
apt update
95-
apt install git apache2 python3 python3-dev python3-venv python3-pip \
98+
apt install apache2 python3 python3-dev python3-venv python3-pip \
9699
gettext-base libapache2-mod-wsgi-py3 git mariadb-server \
97100
libmariadb-dev build-essential libxml2-dev libxslt-dev \
98101
libldap2-dev libsasl2-dev pkg-config -y

install/docker/deploy-ue-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
################################################
44
## UpdatEngine-server installation script with docker
5-
## 2026/01/06
5+
## 2026/01/14
66
################################################
77

88
INST_DIR=/opt
9-
export GIT_BRANCH=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/updatengine-ng/updatengine-server.git | tail --lines=1 | cut --delimiter='/' --fields=3)
109
apt install git gettext-base
10+
export GIT_BRANCH=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/updatengine-ng/updatengine-server.git | tail --lines=1 | cut --delimiter='/' --fields=3)
1111
if [ ! -d "${INST_DIR}/updatengine-server" ]; then
1212
cd ${INST_DIR}
1313
git clone https://github.com/updatengine-ng/updatengine-server -b ${GIT_BRANCH}

updatengine/files/json/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "7.1.2",
2+
"version": "7.1.3",
33
"repository": "updatengine-ng/updatengine-server"
44
}

0 commit comments

Comments
 (0)