Commit 9d64a0b4 authored by Dominique Martinet's avatar Dominique Martinet
Browse files

cryptpad: fix broken symlink that renders cryptpad unusable

This fixes a broken symlink after install; there probably is a better
way to do it but that'll work and ideally new test will catch this
breaking again.

Fixes: #404114
parent 2795c506
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -120,6 +120,8 @@ buildNpmPackage {
    # Move to install directory manually.
    npm run install:components
    mv www/components "$out_cryptpad/www/"
    # and fix absolute symlink to /build...
    ln -Tfs ../../src/tweetnacl "$out_cryptpad/www/components/tweetnacl"

    # install OnlyOffice (install-onlyoffice.sh without network)
    mkdir -p "$out_cryptpad/www/common/onlyoffice/dist"