From 38e485a7825cf74c99f8eeb684d2faa705fb5691 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 4 May 2024 16:17:51 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/install.sh b/src/install.sh index 0f575ee..6aa8e02 100644 --- a/src/install.sh +++ b/src/install.sh @@ -241,16 +241,16 @@ getESD() { fi local tag="FilePath" - ESD=$(xmllint --nonet --xpath "'//$tag'" "$dir/$eFile" | sed -E -e "'s/<[\/]?$tag>//g'") + ESD=$(xmllint --nonet --xpath "'//$tag'" "$dir/$eFile" | sed -E -e "s/<[\/]?$tag>//g") if [ -z "$ESD" ]; then error "Failed to find ESD URL in $eFile!" && return 1 fi tag="Sha1" - ESD_SUM=$(xmllint --nonet --xpath "'//$tag'" "$dir/$eFile" | sed -E -e "'s/<[\/]?$tag>//g'") + ESD_SUM=$(xmllint --nonet --xpath "'//$tag'" "$dir/$eFile" | sed -E -e "s/<[\/]?$tag>//g") tag="Size" - ESD_SIZE=$(xmllint --nonet --xpath "'//$tag'" "$dir/$eFile" | sed -E -e "'s/<[\/]?$tag>//g'") + ESD_SIZE=$(xmllint --nonet --xpath "'//$tag'" "$dir/$eFile" | sed -E -e "s/<[\/]?$tag>//g") rm -rf "$dir" return 0