Skip to content
Snippets Groups Projects
Verified Commit 3bbb92e8 authored by David Beniamine's avatar David Beniamine
Browse files

Version bump

parent 5a7e6233
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
VERSION=1.11 VERSION=1.12
glpiver=$(dpkg -l | awk '/\sglpi-agent\s/{print $3}' | cut -d : -f 2 | cut -d - -f 1) glpiver=$(dpkg -l | awk '/\sglpi-agent\s/{print $3}' | cut -d : -f 2 | cut -d - -f 1)
refip=$(ip a | awk '/inet 10\./{print $2}' | sed 's@/[0-9][0-9]$@@') refip=$(ip a | awk '/inet 10\./{print $2}' | sed 's@/[0-9][0-9]$@@')
if [ "$glpiver" != "$VERSION" ]; then if [ "$glpiver" != "$VERSION" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment