Skip to content

Commit c9e504a

Browse files
committed
1.0.13: Setup fixes
- Fixed error when `plugin.index("(")` returns `nil` - Removed unnecessary pre-definition of users and groups other than mysql
1 parent 446e893 commit c9e504a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [1.0.13](https://github.com/demacmedia/vagrant-lamp/tree/1.0.13) (2018-03-09)
4+
[Full Changelog](https://github.com/demacmedia/vagrant-lamp/compare/1.0.12...1.0.13)
5+
6+
- Fixed error when `plugin.index("(")` returns `nil`
7+
- Removed unnecessary pre-definition of users and groups other than mysql
8+
39
## [1.0.12](https://github.com/demacmedia/vagrant-lamp/tree/1.0.12) (2018-02-17)
410
[Full Changelog](https://github.com/demacmedia/vagrant-lamp/compare/1.0.11...1.0.12)
511

config_groups.sh

-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@
33
config_groups=(
44
# 'gid name'
55
'500 mysql'
6-
'501 redis'
7-
'502 varnish'
8-
'503 varnishlog'
96
)

config_users.sh

-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@
88
config_users=(
99
# 'uid gid name homeDir shell comment'
1010
'500 500 mysql - /bin/false MySQL\ Server'
11-
'501 501 redis /var/lib/redis /bin/false Redis\ Server'
12-
'502 502 varnish /home/varnish /bin/false -'
13-
'503 503 varnishlog /home/varnishlog /bin/false -'
1411
)

files/dependency_manager.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def check_plugins(dependencies)
2727
else
2828
first = 0
2929
end
30-
installed_dependencies.push plugin.slice((first)..(plugin.index("(")-1)).strip
30+
installed_dependencies.push plugin.slice((first)..(plugin.index("(").to_i-1)).strip
3131
end
3232

3333
dependencies_already_satisfied = true

0 commit comments

Comments
 (0)