There was an error while loading. Please reload this page.
1 parent 11c99ee commit df42300Copy full SHA for df42300
1 file changed
scripts/commands/extensions/install.sh
@@ -34,24 +34,7 @@ InstallExtension() {
34
35
if [[ ! -f "$FILE" ]]; then PRINT FATAL "$FILE could not be found or detected.";return 2;fi
36
37
- ZIP="${n}.zip"
38
- cp "$FILE" ".blueprint/tmp/$ZIP"
39
- cd ".blueprint/tmp" || cdhalt
40
- unzip -o -qq "$ZIP"
41
- rm "$ZIP"
42
- if [[ ! -f "$n/*" ]]; then
43
- cd ".." || cdhalt
44
- rm -R "tmp"
45
- mkdir -p "tmp"
46
- cd "tmp" || cdhalt
47
-
48
- mkdir -p "./$n"
49
- cp "../../$FILE" "./$n/$ZIP"
50
- cd "$n" || cdhalt
51
52
53
54
- fi
+ extract_extension
55
fi
56
57
((PROGRESS_NOW++))
0 commit comments