-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2234ba0
commit 145e48b
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
;; MIT License | ||
|
||
;; Copyright (c) 2021-2022 Kiky Tokamuro (Daniil Archangelsky) <[email protected]> | ||
;; Copyright (c) 2021-2023 Kiky Tokamuro (Daniil Archangelsky) <[email protected]> | ||
|
||
;; Permission is hereby granted, free of charge, to any person obtaining a copy | ||
;; of this software and associated documentation files (the "Software"), to deal | ||
|
@@ -95,7 +95,7 @@ | |
(define (os-release-name) | ||
"Return ID from os-release file" | ||
(let ((os (with-input-from-file "/etc/os-release" read-string))) | ||
(match:substring (string-match "PRETTY_NAME=\"([A-Za-z0-9. ]+)\"" os) 1))) | ||
(match:substring (string-match "PRETTY_NAME=\"([A-Za-z0-9(). ]+)\"" os) 1))) | ||
|
||
(define (get-distro) | ||
"Return distro name" | ||
|
@@ -154,7 +154,7 @@ fetch.scm [options] | |
-v, --version Display version | ||
-h, --help Display this help") | ||
|
||
(define version-message "fetch.scm v0.1.5") | ||
(define version-message "fetch.scm v0.1.6") | ||
|
||
(define (main args) | ||
(let* ((option-spec '((version (single-char #\v) (value #f)) | ||
|