diff options
| author | dacctal <donotcontactmevia@email.invalid> | 2026-06-28 04:13:39 +0000 |
|---|---|---|
| committer | dacctal <donotcontactmevia@email.invalid> | 2026-06-28 04:13:39 +0000 |
| commit | 0cc8a1c0faa2743acc6bc38ee8a0c6e2af4f64b1 (patch) | |
| tree | 09c308ab4bcee7697123332773695d13f2bc1e1b /src | |
| parent | 27fa04cc61ecd46476f73d68df12061e94675c7d (diff) | |
fixed ssh usecase
Diffstat (limited to 'src')
| -rw-r--r-- | src/create_pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/create_pkg.c b/src/create_pkg.c index 6aae657..8221233 100644 --- a/src/create_pkg.c +++ b/src/create_pkg.c @@ -113,7 +113,7 @@ Pkg create_pkg(const char *arg) { } } - if (strncmp(new_arg, "http", 4) == 0) { + if (strncmp(new_arg, "http", 4) == 0 || strncmp(new_arg, "ssh", 3) == 0) { pkg.url = strdup(new_arg); pkg.name = name_from_url(new_arg); } else if (strcmp(new_arg, ".") == 0) { |
