Skip to content

Commit e316572

Browse files
committed
fix(Makefile): ensure the installer makes /var/lib/deis/units readable
1 parent f8edadd commit e316572

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ installer:
88
godep go build -a -o dist/deisctl .
99
@if [ ! -d makeself ]; then git clone -b deisctl-hack https://github.com/deis/makeself.git; fi
1010
PATH=./makeself:$$PATH makeself.sh --bzip2 --nox11 --target /usr/local/bin dist \
11-
dist/deisctl-`cat deis-version`-`go env GOOS`-`go env GOARCH`.run \
12-
"Deis Control Utility" "deisctl refresh-units"
11+
dist/deisctl-`cat deis-version`-`go env GOOS`-`go env GOARCH`.run "Deis Control Utility" \
12+
"deisctl refresh-units && chmod 755 /var/lib/deis /var/lib/deis/units && chmod -R 644 /var/lib/deis/units/*"
1313

1414
install:
1515
godep go install -v ./...

0 commit comments

Comments
 (0)