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}/.."
alias asroot=""
if [ "$(whoami)" != root && "$(uname -o)" != Android ]
if [ "$(whoami)" != root ] && [ "$(uname -o)" != Android ]
then alias asroot=sudo
fi

View File

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