diff options
| author | Tails developers <amnesia@boum.org> | 2012-05-09 12:55:03 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-06-04 17:39:50 +0200 |
| commit | acd782e4eaaed7e5897b3f39e3e864bc024c73d2 (patch) | |
| tree | 55a86ad9dd8a3a4a22784f3dedbf7f93e4845d89 /scripts/live | |
| parent | 5f89a19cca390e1c4c3e8cba84aaa1f972d0bd8a (diff) | |
| download | live-boot-acd782e4eaaed7e5897b3f39e3e864bc024c73d2.tar.gz live-boot-acd782e4eaaed7e5897b3f39e3e864bc024c73d2.zip | |
Implement and make use of robust list functions.
Diffstat (limited to 'scripts/live')
| -rwxr-xr-x | scripts/live | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live index 9d699b7..a6da175 100755 --- a/scripts/live +++ b/scripts/live @@ -1001,12 +1001,12 @@ setup_unionfs () ;; esac - if echo ${PERSISTENCE_METHOD} | grep -qe "\<overlay\>" + if is_in_comma_sep_list overlay ${PERSISTENCE_METHOD} then overlays="${old_root_overlay_label} ${old_home_overlay_label} ${custom_overlay_label}" fi - if echo ${PERSISTENCE_METHOD} | grep -qe "\<snapshot\>" + if is_in_comma_sep_list snapshot ${PERSISTENCE_METHOD} then snapshots="${root_snapshot_label} ${home_snapshot_label}" fi |
