From acd782e4eaaed7e5897b3f39e3e864bc024c73d2 Mon Sep 17 00:00:00 2001 From: Tails developers Date: Wed, 9 May 2012 12:55:03 +0200 Subject: Implement and make use of robust list functions. --- scripts/live | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/live') 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 "\" + 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 "\" + if is_in_comma_sep_list snapshot ${PERSISTENCE_METHOD} then snapshots="${root_snapshot_label} ${home_snapshot_label}" fi -- cgit v1.2.3