Merge pull request #182744 from pbsds/owncast-fix-ln

This commit is contained in:
Franz Pletz 2022-08-01 16:22:39 +02:00 committed by GitHub
commit 0865644d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ buildGoModule rec {
) )
[ ! -d "$PWD/static" ] && ( [ ! -d "$PWD/static" ] && (
[ -L "$PWD/static" ] && ${coreutils}/bin/rm "$PWD/static"
${coreutils}/bin/ln -s "${placeholder "out"}/static" "$PWD" ${coreutils}/bin/ln -s "${placeholder "out"}/static" "$PWD"
) )
''; '';