修复:在存在空格时无法正确创建desktop

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2025-11-28 14:00:38 +00:00
committed by Gitee
parent 4909ddf220
commit 1f4803561c

View File

@@ -30,7 +30,7 @@ linkDir() {
ensureTargetDir "$targetFile"
sourceFile=$(realpath --relative-to="$(dirname $targetFile)" "$sourceFile" )
if [ ! -e ${targetFile} ];then
if [ ! -e "${targetFile}" ];then
ln -sv "$sourceFile" "$targetFile"
fi
done