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,16 +117,16 @@ 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"
|
||||
fi
|
||||
|
||||
|
||||
# Installation
|
||||
local tempBu="${FR_LOC}_bu_`date +%Y%m%d-%H%M%S`"
|
||||
local tempAddons="${FR_LOC}/addon"
|
||||
|
Reference in New Issue
Block a user