This commit is contained in:
octospacc 2024-08-29 00:35:27 +02:00
parent a5ba20f0f5
commit cd0491be55
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
cd "${swd}/.." cd "${swd}/.."
alias asroot="" alias asroot=""
if [ "$(whoami)" != root && "$(uname -o)" != Android ] if [ "$(whoami)" != root ] && [ "$(uname -o)" != Android ]
then alias asroot=sudo then alias asroot=sudo
fi fi

View File

@ -17,10 +17,10 @@
$alt $alt $alt $alt
(index $sizes 0) (index $sizes 1) (index $sizes 0) (index $sizes 1)
) | safeHTML -}} ) | safeHTML -}}
{{- if .href -}} {{ if .href }}
{{ partial "anchor.html" (dict {{ partial "anchor.html" (dict
"Inner" $img "Inner" $img
"Params" .) }} "Params" .) }}
{{- else -}} {{ else }}
{{ $img }} {{ $img }}
{{- end -}} {{ end }}