File tree 1 file changed +5
-10
lines changed
ports/digitaltamersreborn/digitaltamersreborn/tools
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,12 @@ initial_setup() {
38
38
unzip_patch () {
39
39
echo " Unzipping the patch file..."
40
40
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.*
50
45
else
51
- echo " 7za tool is not available. Failed to extract xdelta patch ."
46
+ echo " Failed to extract multi-part archive ."
52
47
exit 1
53
48
fi
54
49
else
You can’t perform that action at this time.
0 commit comments