Adapt upgrade step to addon archive content structure
(see https://fd.winklerfamilie.eu/display/f3ad7b1c-175f-f431-45dd-84c383787445)
This commit is contained in:
@@ -117,11 +117,11 @@ step_22() {
|
||||
fi
|
||||
|
||||
if [ ! -e "$tempExtractAddons" ] ; then
|
||||
exe mkdir -p "$tempDown"
|
||||
exe wget -O "$tempLocAddons" $downUrlAddons
|
||||
endReturn -o $? "Download failed: $downUrlAddons"
|
||||
exe cd "$tempDown"
|
||||
exe tar -xf "$tempLocAddons"
|
||||
exe mkdir -p "$tempExtractAddons"
|
||||
exe tar -xC "${tempExtractAddons}" -f "$tempLocAddons"
|
||||
endReturn -o $? "Extract failed: $tempLocAddons"
|
||||
else
|
||||
echo " [I] Found existing download: $tempExtractAddons"
|
||||
|
Reference in New Issue
Block a user