Skip to content

Commit f2e7f30

Browse files
authored
Merge pull request #5 from acuparse/dev
Version to 1.2.2
2 parents 92fe837 + 58adf76 commit f2e7f30

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88

99
## [Unreleased]
1010

11+
## [1.2.2] - 2018-08-08
12+
### Added
13+
- Check timezone before installing
14+
1115
## [1.2.1] - 2018-07-21
1216
### Changed
13-
- Added a2dismods for PHP migration.
17+
- Added a2dismods for PHP 7.2 migration script.
1418
- Formatting changes.
1519

1620
## [1.2.0] - 2018-07-06

install.sh

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ BLUE_TEXT='\033[1;34m'
3232
YELLOW_TEXT='\033[1;33m'
3333
PLAIN_TEXT='\033[0m'
3434

35-
printf "\nAcuparse Installation Script v1.2.1\n\n"
35+
printf "\nAcuparse Installation Script v1.2.2\n"
36+
printf "This script should only be run on a freshly installed Debian/Ububtu/Raspbian system!\n\n"
3637

3738
# Ensure Debian/Ubuntu/Rasberian
3839
OS=$(cat /etc/*release | grep '^ID=' | awk -F= '{ print $2 }')
@@ -44,20 +45,20 @@ if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] || [ "$OS" = "raspbian" ]; then
4445
fi
4546

4647
# Get variables and setup install
47-
printf "${YELLOW_TEXT}Pre Install${PLAIN_TEXT}\n\n"
48-
printf "Make a note of your Acuparse database password.\nYou will need it to complete your install!\n\n"
49-
48+
printf "${GREEN_TEXT}####################\n# Pre-installation #\n####################${PLAIN_TEXT}\n\n"
49+
printf "First, we'll configure your install:\n"
5050
printf "${RED_TEXT}When ready, Press [ENTER] to continue${PLAIN_TEXT}\n"
5151
read READY
5252

5353
# MySQL Root
54-
printf "Enter MySQL ROOT password, followed by [ENTER]:\n"
54+
printf "Enter NEW MySQL ROOT password, followed by [ENTER]:\n"
5555
stty -echo
5656
read MYSQL_ROOT_PASSWORD
5757
stty echo
5858

5959
# Acuparse DB
60-
printf "Enter ACUPARSE database password, followed by [ENTER]:\n"
60+
printf "Enter NEW Acuparse database password, followed by [ENTER]:\n"
61+
printf "${BLUE_TEXT}Make a note of this password, you will need it to finish your install!${PLAIN_TEXT}\n\n"
6162
stty -echo
6263
read ACUPARSE_DATABASE_PASSWORD
6364
stty echo
@@ -102,10 +103,16 @@ if [ "$OS" = "debian" ] || [ "$OS" = "ubuntu" ] || [ "$OS" = "raspbian" ]; then
102103
fi
103104
fi
104105

106+
# Timezone Select
107+
printf "Configuring your system timezone.\n\n"
108+
printf "When ready, Press [ENTER] to continue\n"
109+
read READY
110+
dpkg-reconfigure tzdata
111+
systemctl restart rsyslog.service
112+
105113
# Begin Install
106-
printf "\n${BLUE_TEXT}Installation Ready!${PLAIN_TEXT}\n\n"
114+
printf "\n${GREEN_TEXT}#######################\n# Installation Ready! #\n#######################${PLAIN_TEXT}\n\n"
107115
printf "This process will install and configure packages.\nThis is your last chance to exit.\n\n"
108-
109116
printf "${RED_TEXT}When ready, Press [ENTER] to continue${PLAIN_TEXT}\n"
110117
read READY
111118

0 commit comments

Comments
 (0)