mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
setup script ln fix
This commit is contained in:
@@ -24,10 +24,9 @@ makeNextSubmodule() {
|
||||
npm run export || exit 1
|
||||
npx --yes next telemetry disable
|
||||
cd "${baseDir}" || exit 1
|
||||
# TODO: check if link exists
|
||||
linkTarget="$PWD/nextStatic/${2}"
|
||||
if [ ! -f "${linkTarget}" ]; then
|
||||
ln -sf "$PWD/submodules/${1}/out" "${linkTarget}"
|
||||
if [ ! -e "${linkTarget}" ]; then
|
||||
ln -sfv "$PWD/submodules/${1}/out" "${linkTarget}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user