Merge branch 'master' of github.com:Mastermindzh/tidal-hifi-aur

master
Mastermindzh 2022-06-18 11:23:50 +02:00
commit 9416e12835
2 changed files with 32 additions and 34 deletions

View File

@ -18,13 +18,11 @@ sha512sums=('SKIP'
'31cf40fb3ac81c4a64a8410a78e97c268a440577bce54347ce62f8a9566c8897f8083cd1e5afa40b0fbe9a149fc4fb4f29cad91a12e5b47cf8e300e56351a4f1')
getnvm() {
if command -v nvm
then
if command -v nvm; then
echo "nvm command found, using system version.."
else
if test -f "/usr/share/nvm/init-nvm.sh"
then
if test -f "/usr/share/nvm/init-nvm.sh"; then
echo "found init-nvm.sh in /usr/share/nvm, sourcing..."
unset npm_config_prefix
source "/usr/share/nvm/init-nvm.sh"