fix installer script

This commit is contained in:
Domen Kožar 2021-02-21 14:55:45 +00:00
parent ae4260f0a7
commit 22aec8cef4
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246

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