Skip to content
Permalink
Browse files

Continue move to Buster

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 23, 2019
1 parent e2ff41e commit d082971b054b463239aa6e9a01aa74a986e6da57
@@ -0,0 +1,9 @@
#!/bin/bash
# Ensure git is installed before proceeding with build

if [[ ! -e /usr/bin/git ]]; then
apt update
apt -y install git
fi


File renamed without changes.
@@ -1,10 +1,5 @@
#!/bin/bash

if [[ ! -e /usr/bin/git ]]; then
apt update
apt -y install git
fi

if [[ ! -d /usr/local/share/nems ]]; then
mkdir /usr/local/share/nems
fi
File renamed without changes.
File renamed without changes.
@@ -29,10 +29,10 @@ if [[ "$ver" == "1.4.1" ]]; then
/root/nems/nems-admin/build/028-csf
/root/nems/nems-admin/build/029-csf-conf

## Upgrade PHP from 7.0 to 7.2
/root/nems/nems-admin/build/036-php72
## Upgrade PHP from 7.0 to 7.3
/root/nems/nems-admin/build/036-php

## Upgrade Nagios to from 4.3.4 to 4.4.2
## Upgrade Nagios to from 4.3.4 to 4.4.3
if [[ -d /tmp/libexec ]]; then rm -rf /tmp/libexec; fi
mv /usr/local/nagios/libexec /tmp/ && rm -rf /usr/local/nagios/ && /root/nems/nems-admin/build/050-nagios && systemctl stop nagios && rm -rf /usr/local/nagios/libexec && mv /tmp/libexec /usr/local/nagios/ && systemctl start nagios

0 comments on commit d082971

Please sign in to comment.
You can’t perform that action at this time.