Skip to content

Commit b2e33fb

Browse files
authored
Merge pull request #1390 from JeodC/dtr-fix
Update DTR Patchscript
2 parents 552df59 + f413e6f commit b2e33fb

File tree

1 file changed

+5
-10
lines changed
  • ports/digitaltamersreborn/digitaltamersreborn/tools

1 file changed

+5
-10
lines changed

ports/digitaltamersreborn/digitaltamersreborn/tools/patchscript

+5-10
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,12 @@ initial_setup() {
3838
unzip_patch() {
3939
echo "Unzipping the patch file..."
4040
if [ -f "./tools/patches/dtr.zip.001" ]; then
41-
if [ -x "$(command -v 7z)" ]; then
42-
./tools/7za x ./tools/patches/dtr.zip.001 -o./tools/patches
43-
if [ $? -eq 0 ]; then
44-
echo "Patch file successfully extracted."
45-
rm ./tools/patches/dtr.zip.*
46-
else
47-
echo "Failed to extract multi-part archive."
48-
exit 1
49-
fi
41+
./tools/7za x ./tools/patches/dtr.zip.001 -o./tools/patches
42+
if [ $? -eq 0 ]; then
43+
echo "Patch file successfully extracted."
44+
rm ./tools/patches/dtr.zip.*
5045
else
51-
echo "7za tool is not available. Failed to extract xdelta patch."
46+
echo "Failed to extract multi-part archive."
5247
exit 1
5348
fi
5449
else

0 commit comments

Comments
 (0)