Merge branch 'master' of github.com:Mastermindzh/tidal-hifi-aur
commit
9416e12835
6
PKGBUILD
6
PKGBUILD
|
@ -18,13 +18,11 @@ sha512sums=('SKIP'
|
||||||
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
|
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
|
||||||
|
|
||||||
getnvm() {
|
getnvm() {
|
||||||
if command -v nvm
|
if command -v nvm; then
|
||||||
then
|
|
||||||
echo "nvm command found, using system version.."
|
echo "nvm command found, using system version.."
|
||||||
else
|
else
|
||||||
|
|
||||||
if test -f "/usr/share/nvm/init-nvm.sh"
|
if test -f "/usr/share/nvm/init-nvm.sh"; then
|
||||||
then
|
|
||||||
echo "found init-nvm.sh in /usr/share/nvm, sourcing..."
|
echo "found init-nvm.sh in /usr/share/nvm, sourcing..."
|
||||||
unset npm_config_prefix
|
unset npm_config_prefix
|
||||||
source "/usr/share/nvm/init-nvm.sh"
|
source "/usr/share/nvm/init-nvm.sh"
|
||||||
|
|
Loading…
Reference in New Issue