mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
19 lines
360 B
Plaintext
19 lines
360 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
PMGR=pnpm
|
||
|
|
||
|
if [[ ! -x "$(command -v golangci-lint)" ]]; then
|
||
|
echo "You must install golangci-lint."
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
if [[ ! -x "$(command -v pnpm)" ]]; then
|
||
|
PMGR=yarn
|
||
|
if [[ ! -x "$(command -v yarn)" ]]; then
|
||
|
PMGR=npm
|
||
|
if [[ ! -x "$(command -v npm)" ]]; then
|
||
|
echo "You must install a node package manager."
|
||
|
exit 1
|
||
|
fi
|
||
|
fi
|
||
|
fi
|