[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/21: installer: Allow file system specifications to be removed.
From: |
John Darrington |
Subject: |
10/21: installer: Allow file system specifications to be removed. |
Date: |
Sun, 29 Jan 2017 07:35:02 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit b7b726cdae390517bef09bf5a55a486441b306f9
Author: John Darrington <address@hidden>
Date: Tue Jan 24 17:01:41 2017 +0100
installer: Allow file system specifications to be removed.
* gnu/system/installer/mount-point.scm (mount-point-page-key-handler): Call
assoc-remove! on entries which are #f
---
gnu/system/installer/mount-point.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/system/installer/mount-point.scm
b/gnu/system/installer/mount-point.scm
index 794ec9f..b4b83aa 100644
--- a/gnu/system/installer/mount-point.scm
+++ b/gnu/system/installer/mount-point.scm
@@ -60,10 +60,11 @@
(form-get-value form 'mount-point)
(form-get-value form 'label)
(form-get-value form 'fs-type))))
- (when fss
- (set! mount-points
- (assoc-set! mount-points dev fss))))
- (page-leave))
+ (set! mount-points
+ (if fss
+ (assoc-set! mount-points dev fss)
+ (assoc-remove! mount-points dev)))
+ (page-leave)))
((buttons-key-matches-symbol? nav ch 'cancel)
;; Close the menu and return
- 20/21: gurses: Add new procedure "word-endings"., (continued)
- 20/21: gurses: Add new procedure "word-endings"., John Darrington, 2017/01/29
- 14/21: gurses: Add predicate to test if a complex char is blank., John Darrington, 2017/01/29
- 12/21: gurses: Avoid one usage of car and cdr., John Darrington, 2017/01/29
- 15/21: gurses: Avoid one more use of car and cdr., John Darrington, 2017/01/29
- 13/21: gurses: xchar->char: New procedure., John Darrington, 2017/01/29
- 19/21: installer: Support WEP encrypted wireless., John Darrington, 2017/01/29
- 16/21: gurses: Avoid yet another use of car and cdr., John Darrington, 2017/01/29
- 11/21: installer: Fix the key map option., John Darrington, 2017/01/29
- 18/21: gurses: In paragraph-format avoid use of car and cdr., John Darrington, 2017/01/29
- 06/21: installer: Use a "hard" method of rebooting. Do not rely on shepherd., John Darrington, 2017/01/29
- 10/21: installer: Allow file system specifications to be removed.,
John Darrington <=
- 17/21: gurses: Use match instead of car/cdr in line-split., John Darrington, 2017/01/29
- 21/21: gurses: Reimplement pad-complex-string., John Darrington, 2017/01/29