diff options
author | Domen Kožar <domen@dev.si> | 2021-02-21 14:55:45 +0000 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2021-02-21 15:51:49 +0000 |
commit | 22aec8cef43e77bba356d099868fe0a6e7545b43 (patch) | |
tree | d20d38d632b7cb03f8b7d50257e53d4ede878557 /scripts/install.in | |
parent | ae4260f0a79c5cbb7c88ddbef1f512e0771f7414 (diff) |
fix installer script
Diffstat (limited to 'scripts/install.in')
-rwxr-xr-x | scripts/install.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.in b/scripts/install.in index 0eaf25bb3..7d25f7bd7 100755 --- a/scripts/install.in +++ b/scripts/install.in @@ -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 |