fix installer script

This commit is contained in:
Domen Kožar
2021-02-21 15:51:49 +00:00
parent ae4260f0a7
commit 22aec8cef4
+1 -1
View File
@@ -60,7 +60,7 @@ case "$(uname -s).$(uname -m)" in
esac
# Use this command-line option to fetch the tarballs using nar-serve or Cachix
if "${1:---tarball-url-prefix}"; then
if [ "${1:-}" = "--tarball-url-prefix" ]; then
if [ -z "${2:-}" ]; then
oops "missing argument for --tarball-url-prefix"
fi