summaryrefslogtreecommitdiff
path: root/backend/modules/config
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-09-27 21:39:11 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-09-27 21:39:11 +0200
commitfa22289c6fbd3abc1b4506553d55dcff20d619f1 (patch)
tree737b37738e80a9677934cbfbe72028f07e24d023 /backend/modules/config
parent18a5985a2b829aa0858433faee98c13a5c9a5d08 (diff)
downloadacritoxinstaller-fa22289c6fbd3abc1b4506553d55dcff20d619f1.zip
acritoxinstaller-fa22289c6fbd3abc1b4506553d55dcff20d619f1.tar.gz
strip_live_media, error handling, hdmap fixes
Diffstat (limited to 'backend/modules/config')
-rw-r--r--backend/modules/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/modules/config b/backend/modules/config
index d073580..7fff7dd 100644
--- a/backend/modules/config
+++ b/backend/modules/config
@@ -42,7 +42,7 @@ function flag_unset()
function hdmap_set()
{
- cfg_set hdmap "$( ( echo "$@"; ( echo "$@"; echo "$cfg_hdmap" ) | sort -u -t: -k1,1 ) | sort -u -t: -k2,2 | grep .)"
+ cfg_set hdmap "$( ( ( echo "$@"; ( echo "$@"; echo "$cfg_hdmap" ) | sort -u -t: -k1,1 ) | sort -u -t: -k2,2; awk -F: '{print $1":::"}' <<<"$@" ) | sort -u -t: -k1,1 | grep .)"
}
# Synopsis: hdmap_get <"device"|"mountpoint"|"filesystem"|"automount"> of <"device"|"mountpoint"> <device|mountpoint>