mirror of
https://gitee.com/spark-store-project/spark-wine
synced 2026-05-07 23:00:18 +08:00
update spark-dwine-helper/postinst.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
#!/bin/bash
|
||||
if [ ! -d /opt/deepinwine/tools ];then
|
||||
mkdir -p /opt/deepinwine/tools
|
||||
mkdir -p /opt/deepinwine/tools
|
||||
fi
|
||||
|
||||
ln -svf /opt/spark-dwine-helper/spark_run_v4.sh /opt/deepinwine/tools/spark_run_v4.sh
|
||||
ln -svf /opt/spark-dwine-helper/spark_kill.sh /opt/deepinwine/tools/spark_kill.sh
|
||||
|
||||
# 如果不存在 /opt/deepinwine/tools/run_v4.sh,则创建软链接
|
||||
if [ ! -f /opt/deepinwine/tools/run_v4.sh ]; then
|
||||
ln -svf /opt/spark-dwine-helper/spark_run_v4.sh /opt/deepinwine/tools/run_v4.sh
|
||||
fi
|
||||
Reference in New Issue
Block a user