Skip to content

Commit

Permalink
fix: 修复circleci编译权限问题
Browse files Browse the repository at this point in the history
  • Loading branch information
XanderYe committed Apr 1, 2022
1 parent 9706fcb commit b2dd9cc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions dnf-server/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ rm -rf lib/libGeoIP.so.1
cp -r /home/template/neople /home/template/neople-tmp
cp -r /home/template/root /home/template/root-tmp

# 配置权限
chmod +x /home/template/init/init.sh && chmod +x /root/

# 检查/data
/home/template/init/init.sh
chmod +x /home/template/init/init.sh && /home/template/init/init.sh

GAME_PASSWORD=${GAME_PASSWORD:0:8}
DEC_GAME_PWD=`/TeaEncrypt $GAME_PASSWORD`
Expand Down Expand Up @@ -116,7 +113,7 @@ sed -i --follow-symlinks "s/GM_PASSWORD/$GM_PASSWORD/g" `find /root -name "*.ini
sed -i --follow-symlinks "s/GM_CONNECT_KEY/$GM_CONNECT_KEY/g" `find /root -name "*.ini"`
sed -i --follow-symlinks "s/GM_LANDER_VERSION/$GM_LANDER_VERSION/g" `find /root -name "*.ini"`

cd /root
cd /root && chmod +x /root/*

# 启动服务
./run

0 comments on commit b2dd9cc

Please sign in to comment.