Skip to content

🎧 Your Personal Streaming Service

chore: fix some typos in comment and logs (#4333)

bytesingsongb69a7652b943
diff --git a/core/artwork/sources.go b/core/artwork/sources.go
index 121e6c38b..4250a373b 100644
--- a/core/artwork/sources.go
+++ b/core/artwork/sources.go
@@ -188,7 +188,7 @@ func fromURL(ctx context.Context, imageUrl *url.URL) (io.ReadCloser, string, err
}
if resp.StatusCode != http.StatusOK {
resp.Body.Close()
- return nil, "", fmt.Errorf("error retrieveing artwork from %s: %s", imageUrl, resp.Status)
+ return nil, "", fmt.Errorf("error retrieving artwork from %s: %s", imageUrl, resp.Status)
}
return resp.Body, imageUrl.String(), nil
}
diff --git a/release/linux/postinstall.sh b/release/linux/postinstall.sh
index 65f1d208d..f3d9c9277 100644
--- a/release/linux/postinstall.sh
+++ b/release/linux/postinstall.sh
@@ -4,7 +4,7 @@
# the package manager (in particular, deb) thinks that the file exists, while it is
# no longer on disk. Specifically, doing a `rm /etc/navidrome/navidrome.toml`
# without something like `apt purge navidrome` will result in the system believing that
-# the file still exists. In this case, during isntall it will NOT extract the configuration
+# the file still exists. In this case, during install it will NOT extract the configuration
# file (as to not override it). Since `navidrome service install` depends on this file existing,
# we will create it with the defaults anyway.
if [ ! -f /etc/navidrome/navidrome.toml ]; then