Skip to content

Commit

Permalink
fix: 适配编译脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy authored Dec 16, 2024
1 parent 66bd6c8 commit 3e8b20e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions initfs/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cd /var/www

if [ ! -d /var/www/api ]; then
wget https://github.com/imsyy/DailyHotApi/archive/refs/heads/master.tar.gz
tar xvf master.tar.gz && mv dailyhot-api-master api
tar xvf master.tar.gz && mv DailyHotApi-master api
rm -f master.tar.gz
fi

Expand All @@ -28,7 +28,7 @@ cd /var/www

if [ ! -d /var/www/front-build ]; then
wget https://github.com/imsyy/DailyHot/archive/refs/heads/master.tar.gz
tar xvf master.tar.gz && mv dailyhot-front-master front-build
tar xvf master.tar.gz && mv DailyHot-master front-build
rm -f master.tar.gz
fi

Expand Down

0 comments on commit 3e8b20e

Please sign in to comment.