* fix path of composer auth

This commit is contained in:
2021-04-22 20:44:57 +03:00
parent 2a88fe11f2
commit 0609ced666
2 changed files with 2 additions and 2 deletions

View File

@ -63,4 +63,4 @@ secrets:
user_known_hosts:
file: ~/.ssh/known_hosts
composer_auth:
file: ~/.composer/auth.json
file: ~/.config/composer/auth.json

View File

@ -1,5 +1,5 @@
#!/bin/bash
FILE=${HOME}/.composer/auth.json
FILE=${HOME}/.config/composer/auth.json
if [[ -f "${FILE}" ]]; then
if [[ ! -z "$(cat $FILE | grep github)" ]]; then