Skip to content

Commit

Permalink
I forgor relative paths exist
Browse files Browse the repository at this point in the history
  • Loading branch information
agrastiOs committed Feb 29, 2024
1 parent 726775f commit 80ab77b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
working-directory: ${{ env.SCRIPTS_PATH }}/custom
run: |
sudo apt-get update && sudo apt-get install -y p7zip-full jq # Install `p7zip-full` and `jq`
wget -q -O tmp.zip https://github.com/agrastiOs/Ultimate-TF2-Visual-Fix-Pack/archive/refs/heads/master.zip && unzip -o tmp.zip -d mktemp/ && mv mktemp/Ultimate-TF2-Visual-Fix-Pack-master/TF2UltimateVisualFix/ custom/ && rm -f tmp.zip && rm -rf mktemp/
wget -q -O tmp.zip https://github.com/CriticalFlaw/essentialsHUD/archive/refs/heads/fortress-faceoff.zip && unzip -o tmp.zip -d mktemp/ && rm -f mktemp/essentialsHUD-fortress-faceoff/resource/clientscheme.res && rsync -a --no-perms mktemp/essentialsHUD-fortress-faceoff/ custom/essentialsHUD-fortress-faceoff/ && rm -f tmp.zip && rm -rf mktemp/
wget -q -O tmp.zip https://github.com/dalegaard/CastingEssentials/releases/latest/download/CastingEssentialsRed.zip && CMD_INSTRUCTIONS=$(7z l -ba -slt "tmp.zip" | grep '\\' | sed 's/^Path = //g' | sed 's/.*/"&"/' | gawk '{ print $0, gensub(/\\/, "/", "g", $0); }' | sed 's|\\|\\\\|g' | paste -s -) && CMD_7Z="7z rn \"tmp.zip\" $CMD_INSTRUCTIONS" && eval "$CMD_7Z" && unzip -o tmp.zip -d custom/ && rm -f tmp.zip
wget -q -O tmp.zip https://github.com/agrastiOs/Ultimate-TF2-Visual-Fix-Pack/archive/refs/heads/master.zip && unzip -o tmp.zip -d mktemp/ && mv mktemp/Ultimate-TF2-Visual-Fix-Pack-master/TF2UltimateVisualFix/ ./ && rm -f tmp.zip && rm -rf mktemp/
wget -q -O tmp.zip https://github.com/CriticalFlaw/essentialsHUD/archive/refs/heads/fortress-faceoff.zip && unzip -o tmp.zip -d mktemp/ && rm -f mktemp/essentialsHUD-fortress-faceoff/resource/clientscheme.res && rsync -a --no-perms mktemp/essentialsHUD-fortress-faceoff/ essentialsHUD-fortress-faceoff/ && rm -f tmp.zip && rm -rf mktemp/
wget -q -O tmp.zip https://github.com/dalegaard/CastingEssentials/releases/latest/download/CastingEssentialsRed.zip && CMD_INSTRUCTIONS=$(7z l -ba -slt "tmp.zip" | grep '\\' | sed 's/^Path = //g' | sed 's/.*/"&"/' | gawk '{ print $0, gensub(/\\/, "/", "g", $0); }' | sed 's|\\|\\\\|g' | paste -s -) && CMD_7Z="7z rn \"tmp.zip\" $CMD_INSTRUCTIONS" && eval "$CMD_7Z" && unzip -o tmp.zip -d ./ && rm -f tmp.zip
- name: Install zip
uses: montudor/action-zip@v1
Expand Down

0 comments on commit 80ab77b

Please sign in to comment.