|
|
@ -139,9 +139,9 @@ mv "$tmpsed" "$headerfile" |
|
|
|
sed 's/<\/header>//' "$headerfile" > "$tmpsed" |
|
|
|
sed 's/<\/header>//' "$headerfile" > "$tmpsed" |
|
|
|
mv "$tmpsed" "$headerfile" |
|
|
|
mv "$tmpsed" "$headerfile" |
|
|
|
sed 's/<footer.*>//' "$footerfile" > "$tmpsed" |
|
|
|
sed 's/<footer.*>//' "$footerfile" > "$tmpsed" |
|
|
|
mv "$tmpsed" "$headerfile" |
|
|
|
mv "$tmpsed" "$footerfile" |
|
|
|
sed 's/<\/footer>//' "$footerfile" > "$tmpsed" |
|
|
|
sed 's/<\/footer>//' "$footerfile" > "$tmpsed" |
|
|
|
mv "$tmpsed" "$headerfile" |
|
|
|
mv "$tmpsed" "$footerfile" |
|
|
|
|
|
|
|
|
|
|
|
# Remove any junk from the domain eg. [https://]domain.com[/] |
|
|
|
# Remove any junk from the domain eg. [https://]domain.com[/] |
|
|
|
domain="$(echo "$2" | sed -e 's/^https*:\/\///' -e 's/\/$//')" |
|
|
|
domain="$(echo "$2" | sed -e 's/^https*:\/\///' -e 's/\/$//')" |
|
|
|